首页> 开发问题 >后端问题 后端问题
使用mysql_list_tables()方法报错
作者:小萝卜 2019-08-12 【 MySql 】 浏览 2003
简介使用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)
相关文章
- MYSQL5.7版本sql_mode=only_full_group_by报错解决方案
- 语法解析错误: syntax error, unexpected 'unset' (T_UNSET)
- laravel通过composer安装报错了The 'https://repo.packagist.org/p/laravel/laravel.json' file could not be downloaded: failed to open stream
- 错误400-The request sent by the client was syntactically incorrect
- MySQL: unrecognized service错误解决办法
- PHP查询报错, Fatal error: Allowed memory size of 134217728 bytes exhausted
- 网站打不开错误提示:ERR_CONTENT_DECODING_FAILED
- tp3.2插入数据时SQLSTATE[HY000]: General error
- Site error: the ionCube PHP Loader needs to be installed.
- Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in