0

所有这一切都是全新的,并试图安装我的 PHP 脚本。当我输入我的网址时,我收到以下错误:

警告:mysql_pconnect() [function.mysql-pconnect]:在 /home/cbstacy/public_html/dirtytwenty.com/libraries/adodb/drivers/adodb- 中用户 'god'@'localhost' 的访问被拒绝(使用密码:YES) mysql.inc.php 在第 227 行

警告:mysql_real_escape_string() [function.mysql-real-escape-string]:/home/cbstacy/public_html/dirtytwenty.com/include/config 中的用户 'cbstacy'@'localhost' 的访问被拒绝(使用密码:NO)。第 140 行的 php

警告:mysql_real_escape_string() [function.mysql-real-escape-string]:无法在第 140 行的 /home/cbstacy/public_html/dirtytwenty.com/include/config.php 中建立到服务器的链接

4

1 回答 1

0

这只是“用户名或密码错误”的情况。查看您的数据库连接数据。

奇怪的是,您的脚本似乎也在尝试使用两个不同的用户连接到数据库。

于 2012-09-16T18:55:55.947 回答