网页上显示这个Warning是什么意思?
- SQL code
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10048) in D:/APMServ5.2.6/www/htdocs/config.php on line 19 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in D:/APMServ5.2.6/www/htdocs/config.php on line 20 Warning: mysql_query() [function.mysql-query]: Can't connect to MySQL server on 'localhost' (10048) in D:/APMServ5.2.6/www/htdocs/config.php on line 21
欢迎大家阅读《网页上显示这个Warning是什么意思?该怎么处理》,跪求各位点评,by 搞代码
网页可以正常显示,但是页面上方提示这个是怎么回事?
——解决方案——————–
错误提示应该是无法连接数据库。
你的网页能从数据库中获取信息吗?
——解决方案——————–
检查config.php中连接参数是否写错。