phpweb安装完成了,但是打开网站链接数据库失败 20
Databaseerror:cannotusedatabase4049MySQLError:0()#0dbbase_sql->halt(cannotusedatabase...
Database error: cannot use database 4049
MySQL Error: 0 ()
#0 dbbase_sql->halt(cannot use database 4049) called at [D:\wwwroot\4049\includes\db.inc.php:50]
#1 dbbase_sql->connect() called at [D:\wwwroot\4049\includes\db.inc.php:66]
#2 dbbase_sql->query(select * from {P}_base_config) called at [D:\wwwroot\4049\includes\common.inc.php:14]
#3 readconfig() called at [D:\wwwroot\4049\includes\common.inc.php:1288]
#4 include(D:\wwwroot\4049\includes\common.inc.php) called at [D:\wwwroot\4049\index.php:3]
Database error: Invalid SQL: select * from pwn_base_config
MySQL Error: 1046 (No database selected)
#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_config) called at [D:\wwwroot\4049\includes\db.inc.php:73]
#1 dbbase_sql->query(select * from {P}_base_config) called at [D:\wwwroot\4049\includes\common.inc.php:14]
#2 readconfig() called at [D:\wwwroot\4049\includes\common.inc.php:1288]
#3 include(D:\wwwroot\4049\includes\common.inc.php) called at [D:\wwwroot\4049\index.php:3]
Database error: Invalid SQL: select * from pwn_base_pageset where coltype='index' and pagename='index' 展开
MySQL Error: 0 ()
#0 dbbase_sql->halt(cannot use database 4049) called at [D:\wwwroot\4049\includes\db.inc.php:50]
#1 dbbase_sql->connect() called at [D:\wwwroot\4049\includes\db.inc.php:66]
#2 dbbase_sql->query(select * from {P}_base_config) called at [D:\wwwroot\4049\includes\common.inc.php:14]
#3 readconfig() called at [D:\wwwroot\4049\includes\common.inc.php:1288]
#4 include(D:\wwwroot\4049\includes\common.inc.php) called at [D:\wwwroot\4049\index.php:3]
Database error: Invalid SQL: select * from pwn_base_config
MySQL Error: 1046 (No database selected)
#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_config) called at [D:\wwwroot\4049\includes\db.inc.php:73]
#1 dbbase_sql->query(select * from {P}_base_config) called at [D:\wwwroot\4049\includes\common.inc.php:14]
#2 readconfig() called at [D:\wwwroot\4049\includes\common.inc.php:1288]
#3 include(D:\wwwroot\4049\includes\common.inc.php) called at [D:\wwwroot\4049\index.php:3]
Database error: Invalid SQL: select * from pwn_base_pageset where coltype='index' and pagename='index' 展开
4个回答
展开全部
检查下是不是数据库的用户名和密码不对。,
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
刷新一下试试,应该是数据库的偶尔连接错误
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
把你代码贴上去
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
新建一个数据库
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询