数据库2023年05月21日
在登录阿里云服务器时mysql提示Changed limits: max_open_files: 2048 max_connections: 1910 table_cache: 64 解决办法 mysql bin > mysqld-nt --table_cache=64 mysql bin > mysqld-nt --innodb_open_fi...
数据库2023年05月21日
错误原因: 主要是是MYSQL 5.1的一个BUG,其出现原因是mysql 5.1和mysql 5.0在处理到索引语句时有所区别。 案例: 有时导入mysql会提示如下错误: ERROR 1064 (42000) at line 486: You have an error in your SQL syntax; check the manual that ...
后端开发2023年05月20日
利用PHPEXCEL导出2007的xlsx格式时,出现这个错误“Fatal error: Class 'ZipArchive' not found”。说明是程序在调用'ZipArchive' 这个类的时候没有成功,原因是由于在安装php的时候没有增加php zip的支持(非zlib)。 在Windows下的解决办法是: 1、在php.ini文件中,将exte...
后端开发2023年05月12日
最近在使用阿里云主机的时候,发现用PHPEXCEL导出数据表时,系统报出以下错误: Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/home/byu...