在执行以下代码时:
$db_host = "<IP>"; // Host name
$db_user = "<usr>"; // User name of your database
$db_password = "<pass>"; // Password of your database
$db_name="<db name>"; // Database name
$con = mysql_connect($db_host,$db_user,$db_passwor
我安装了wamp.phpmyadmin,运行良好。现在我已经安装了mysql命令行客户端,我无法从mysql命令行或phpmyadmin连接到我的数据库。重新启动后,我无法访问phpmyadmin #1045 Cannot log in to the MySQL server。此外,mysql命令行不接受我的密码并拒绝我的配置文件:
C:\wamp\bin\mysql\mysql5.5.24
my.ini
port=3306
my config.inc.php
$cfg['Servers'][$i]['verbose'] = 'localhost'