Home  >  Article  >  Backend Development  >  新人,5.4怎么连接mysql

新人,5.4怎么连接mysql

WBOY
WBOYOriginal
2016-06-13 11:15:18730browse

新人,5.4如何连接mysql
  干java的,最近没事,我感觉目前我的配置应该是没错的。phpinfo()那个页面可以出来,现在就是想问一下php文件里怎么写,无力吐槽一下,这一下午弄的有点累。。


------解决方案--------------------
mysqli_connect($host,$user,$pwd,$db,$port);
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn