首页> 开发问题 >后端问题 后端问题
使用mysql_list_tables()方法报错
作者:小萝卜 2019-08-12 【 MySql 】 浏览 1888
简介使用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
- [vs code] 运行go包提示:Code is already running!
- laravel通过composer安装报错了The 'https://repo.packagist.org/p/laravel/laravel.json' file could not be downloaded: failed to open stream
- TP6报错致命错误: Cannot use object of type stdClass as array
- MYSQL5.7版本sql_mode=only_full_group_by报错解决方案
- PHP查询报错, Fatal error: Allowed memory size of 134217728 bytes exhausted
- tp3.2插入数据时SQLSTATE[HY000]: General error
- MySQL: unrecognized service错误解决办法
- 网站打不开错误提示:ERR_CONTENT_DECODING_FAILED
- Site error: the ionCube PHP Loader needs to be installed.