建立数据库连接时出错mysqli_real_connect()

时间:2016-05-10 18:38:17

标签: mysql wordpress

警告:mysqli_real_connect():( HY000 / 1045):在C:\ xampp \ htdocs \ sitename \ wp-includes \ wp-db中,用户'sitename'@'localhost'(使用密码:YES)拒绝访问。 php在1489行

警告:mysql_connect():在第1515行的C:\ xampp \ htdocs \ sitename \ wp-includes \ wp-db.php中,用户'sitename'@'localhost'(使用密码:YES)拒绝访问

line 1489:mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );

line 1515:$this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );

0 个答案:

没有答案