新浪sea MySQL连接问题
这是我的代码:<?php$link=mysql_connect('SAE_MYSQL_HOST_M'.':'.'SAE_MYSQL_PORT','SAE_MYSQL_US...
这是我的代码 :
<?php
$link = mysql_connect('SAE_MYSQL_HOST_M'.':'.'SAE_MYSQL_PORT','SAE_MYSQL_USER','SAE_ MYSQL_PASS');
if(!$link){ die('could not connect:'.mysql_error()); }mysql_select_db('SAE_MYSQL_DB',$link);
?>
我想连接上我的MySQL,就这样而已,一直连不上。。。
一直报错
新浪warning: mysql_connect() [function.mysql-connect]: this app is not authorised in N1.php on line 2could not connect:this app is not authorised 展开
<?php
$link = mysql_connect('SAE_MYSQL_HOST_M'.':'.'SAE_MYSQL_PORT','SAE_MYSQL_USER','SAE_ MYSQL_PASS');
if(!$link){ die('could not connect:'.mysql_error()); }mysql_select_db('SAE_MYSQL_DB',$link);
?>
我想连接上我的MySQL,就这样而已,一直连不上。。。
一直报错
新浪warning: mysql_connect() [function.mysql-connect]: this app is not authorised in N1.php on line 2could not connect:this app is not authorised 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询