我在复制数据库时遇到问题,我使用的是 XAMPP 和 1.8.3-3 以及 Mac OS
,我从 xamppfiles->var->mysql 复制了数据库
code> 并卸载了 XAMPP,然后我再次安装 XAMPP,因为 MySql 数据库不起作用,安装 XAMPP 后所有服务都运行良好,所以我再次将旧数据库复制到 xamppfiles->var-> mysql
,我尝试浏览网站,但出现此错误::
Error displaying the error page: Application Instantiation Error: Table 'XXXXX.xxxxx_session' doesn't exist SQL=DELETE FROM `xxxxx_session` WHERE `time` < '1398851285'
我打开 Phpmyadmin 并尝试打开数据库,一些表已打开,其中一些给我这样的错误::
#1146 - Table 'XXXXX.xxxxx_session' doesn't exist
问题出在哪里!
请帮忙,
谢谢
最佳答案
您只需打开文件“configuration.php”并关注参数“$dbprefix”,确保您是否有正确的数据前缀(例如数据库)。
关于mysql - 显示错误页面时出错 : Application Instantiation Error: Table 'XXXX.XXX_session' doesn't exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23385339/