------解决方案-------------------- 你用我的代码连接一下试试 $Conn=mysql_connect("localhost","root","admin",1) Or Die('Database server connection failed, check the Config configuration is correct!');
或
$pdo = New PDO('mysql:host=localhost;dbname=数据表名称','root','admin');
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