我将我的网站移动到godaddy服务器,但即使有足够的更改,sql连接也无法正常工作
<?PHP $link = @R_502_198@_connect('www.xxxxx.com','PHPadminusername','PHPadminpasswor'); if (!$link) { die('Could not connect: ' . @R_502_198@_error()); } /*echo 'Connected successfully';*/ echo "DB CONNECTION :<font color='green'>ACTIVE</font>"; ?>
Warning: @R_502_198@_connect() [function.@R_502_198@-connect]: Lost connection to
@R_502_198@ server at ‘reading initial communication packet’,system error:
111 in /home/content/58/9508458/html/psychiatric/private.PHP on line
196 Could not connect: Lost connection to @R_502_198@ server at ‘reading
initial communication packet’,system error: 111
通过更新到godaddy.com专门给出的帐户管理器中的主机名来修复..不仅仅是域名