首页> 开发问题 >后端问题 后端问题
使用mysql_list_tables()方法报错
作者:小萝卜 2019-08-12 【 MySql 】 浏览 1119
简介使用mysql_list_tables()方法报错:Deprecated: Function mysql_list_tables() is deprecated in … on line xxx
使用mysql_list_tables()方法报错:Deprecated: Function mysql_list_tables() is deprecated in … on line xxx
这是由于mysql_list_tables方法已经过时,运行以上程序时会给出方法过时的提示信息。
我们在php.ini中设置error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED,重启服务,然后运行mysql_list_tables()就不会出现错误提示了。
很赞哦! (0)
相关文章
- 错误400-The request sent by the client was syntactically incorrect
- 网站打不开错误提示:ERR_CONTENT_DECODING_FAILED
- windows下mysql中文乱码, 配置解决方法
- TP6报错致命错误: Cannot use object of type stdClass as array
- [vs code] 运行go包提示:Code is already running!
- Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in
- tp3.2插入数据时SQLSTATE[HY000]: General error
- PHP查询报错, Fatal error: Allowed memory size of 134217728 bytes exhausted
- MySQL: unrecognized service错误解决办法
- 语法解析错误: syntax error, unexpected 'unset' (T_UNSET)