discuz搬家数据库遇到问题,跪求解决
在搬家discuz到VPS上,安装,然后出现了以下的错误。Warning:fopen(D:\www\2\install/.././config/config_ucente...
在搬家discuz到VPS上,安装,然后出现了以下的错误。
Warning: fopen(D:\www\2\install/.././config/config_ucenter.php) [function.fopen]: failed to open stream: Permission denied in D:\www\2\install\include\install_function.php on line 1177
Warning: fopen(D:\www\2\install/.././uc_server/data/config.inc.php) [function.fopen]: failed to open stream: Permission denied in D:\www\2\install\include\install_function.php on line 1219
Warning: fwrite(): supplied argument is not a valid stream resource inD:\www\2\install\include\install_function.php on line 1220
Warning: fclose(): supplied argument is not a valid stream resource inD:\www\2\install\include\install_function.php on line 1221
安装完了以后,不能访问首页,提示为:
Discuz! Database Error
The database has encountered a problem. Need Help?
Error messages:
[Type] 无法连接到数据库服务器
[1045] Access denied for user 'root'@'localhost' (using password: YES)
Program messages:
[Line: 0051]forum.php(discuz_core->init)
[Line: 0065]source\class\class_core.php(discuz_core->_init_db)
[Line: 0364]source\class\class_core.php(db_mysql->connect)
[Line: 0764]source\class\class_core.php(db_mysql->_dbconnect)
求解决!!!!!!!!!
安装成功,但是主页是乱的。登录,显示以下信息
UCenter info: MySQL Query Error
SQL:SELECT value FROM [Table]vars WHERE name='noteexists1'
Error:Table 'root.pre_ucenter_vars' doesn't exist
Errno:1146 展开
Warning: fopen(D:\www\2\install/.././config/config_ucenter.php) [function.fopen]: failed to open stream: Permission denied in D:\www\2\install\include\install_function.php on line 1177
Warning: fopen(D:\www\2\install/.././uc_server/data/config.inc.php) [function.fopen]: failed to open stream: Permission denied in D:\www\2\install\include\install_function.php on line 1219
Warning: fwrite(): supplied argument is not a valid stream resource inD:\www\2\install\include\install_function.php on line 1220
Warning: fclose(): supplied argument is not a valid stream resource inD:\www\2\install\include\install_function.php on line 1221
安装完了以后,不能访问首页,提示为:
Discuz! Database Error
The database has encountered a problem. Need Help?
Error messages:
[Type] 无法连接到数据库服务器
[1045] Access denied for user 'root'@'localhost' (using password: YES)
Program messages:
[Line: 0051]forum.php(discuz_core->init)
[Line: 0065]source\class\class_core.php(discuz_core->_init_db)
[Line: 0364]source\class\class_core.php(db_mysql->connect)
[Line: 0764]source\class\class_core.php(db_mysql->_dbconnect)
求解决!!!!!!!!!
安装成功,但是主页是乱的。登录,显示以下信息
UCenter info: MySQL Query Error
SQL:SELECT value FROM [Table]vars WHERE name='noteexists1'
Error:Table 'root.pre_ucenter_vars' doesn't exist
Errno:1146 展开
万山数据
2024-11-14 广告
2024-11-14 广告
北京万山数据科技有限公司,反向治理破解数据治理投入大见效慢的难题;DG4L湖仓一体数据;治理平台让数据变成资产;Clickhouse专家服务、Clickhouse升级服务,Clickhouse应用无忧...
点击进入详情页
本回答由万山数据提供
展开全部
搬家的话不需要重新走安装步骤,直接导入数据库,上次程序文件,修改配置文件就可以了
更多追问追答
追问
修改哪些配置文件啊?
追答
你用的是discuz哪个系列,哪个版本??
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
迁移是新站安装恢复数据库?还是整站拷贝?
更多追问追答
追问
整站拷贝
现在的情况是UC center里面有用户了,但是打不开网站,打开是空白的,什么也没有。
我再phpmyadmin里面恢复了所有的备份的数据库
追答
恢复完数据后,进入DZ后台清理缓存了吗?
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询