请使用了IP地址为69.163.32.*的朋友们将数据库连接中的locaohost修改为mysql
如标题所言 大哥,是localhost吧?? 改姓名了.... 没有用{:soso__5758922037256848896_1:} 没有那个空间啊 应该是这样,我试过可以的。 我有这个空间,不过没用数据库!Reply from 69.163.32.12: bytes=32 time=305ms TTL=48
Reply from 69.163.32.12: bytes=32 time=302ms TTL=48
Reply from 69.163.32.12: bytes=32 time=310ms TTL=48
Reply from 69.163.32.12: bytes=32 time=303ms TTL=48
Ping statistics for 69.163.32.12:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 302ms, Maximum = 310ms, Average = 305ms
C:\Documents and Settings\Administrator>
Warning: mysql_connect() : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/jiaxinba/public_html/class/mysql.db.class.php on line 52
2002 : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/sorry/public_html/class/mysql.db.class.php on line 79 <?php
#[数据库信息]
$dbHost = "mysql";
页:
[1]
2