The mysql extension is deprecated and will be removed in the future: use mysq
翻译:
mysql_connect这个模块将在未来弃用,请你使用mysqli或者PDO来替代。
解决方法:
打开php.ini 配置文件把
display_errors = On
改为
display_errors = Off
改完之后重启服务就可以了。
- mysql mysql_connect deprecated extension connectmysql mysql_connect deprecated extension mysql_connect mysql localhost 39 connect allowed connect server mysql localhost connect server mysql connections原因 方法mysql mysql 39 connect through mysql localhost connect方法 端口connections问题mysql connect remote server mysql