【发布时间】:2014-10-07 11:08:54
【问题描述】:
不知道为什么连接不上数据库
{"User message":false,"error":1,"success":0,"error_msg":"Error occured in Registartion","tag":"register"}
<br />
<b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'u800018303'@'10.2.1.47' (using password: NO) in <b>/home/u800018303/public_html/DbFunctions.php</b> on line <b>32</b><br />
<br />
<b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/home/u800018303/public_html/DbFunctions.php</b> on line <b>32</b><br />
{"tag":"register","success":0,"error":1,"User message":false,"error_msg":"Error occured in Registartion"}
【问题讨论】:
-
我在数据库中的字段有问题,我有'not null'字段但我没有在我的函数中更改它,抱歉英语不好