Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[疑问] 升级到SS7正式版,登陆出错 N o database selected

[复制链接]
secondthree 发表于 2009-3-11 23:41:46 | 显示全部楼层 |阅读模式
Error:No database selected
Errno:1046
SQL::SELECT value FROM cdb_uc_vars WHERE name='noteexists2'

在UC中显示通信成功,但就登陆不了。。求助
回复

使用道具 举报

main-cn 发表于 2009-3-12 00:20:31 | 显示全部楼层
我的
Error:SELECT command denied to user '******'@'user-i38bqsf8jv' for table 'uc_settings'
Errno:1142
SQL::SELECT * FROM ucenter.uc_settings

也登不了,求助
回复

使用道具 举报

padmin 发表于 2009-3-12 00:25:35 | 显示全部楼层
我的缓存更新不了

User: daofeng
Time: 2009-3-12 12:24am
Script: /admincp.php

SQL: SELECT * FROM `hgdonline`.`[Table]settings`
Error: Table 'hgdonline.[Table]settings' doesn't exist
数据表缺失,请恢复备份数据
回复

使用道具 举报

padmin 发表于 2009-3-12 00:30:39 | 显示全部楼层
又变成这样了

Error:Table 'hgdonline.uc_vars' doesn't exist
Errno:1146
SQL::SELECT value FROM `hgdonline`.uc_vars WHERE name='noteexists6'

和一楼的差不多
回复

使用道具 举报

 楼主| secondthree 发表于 2009-3-12 14:11:50 | 显示全部楼层
升级过程应该没出错
回复

使用道具 举报

seattle 发表于 2009-3-12 14:35:03 | 显示全部楼层
又变成这样了

Error:Table 'hgdonline.uc_vars' doesn't exist
Errno:1146
SQL::SELECT value FROM `hgdonline`.uc_vars WHERE name='noteexists6'

和一楼的差不多
padmin 发表于 2009-3-12 00:30

完全相同,头大了!
回复

使用道具 举报

liu8122109 发表于 2009-3-12 15:09:00 | 显示全部楼层
可能是 UC Center设置没弄好,请看下面:
表明红色的地方为特别注意的地方且需填写。

//--------------- UCenter设置 ---------------
define('UC_CONNECT', 'mysql');                                        // 连接 UCenter 的方式: mysql/NULL, 默认为空时为 fscoketopen(), mysql 是直接连接的数据库, 为了效率, 建议采用 mysql

// 数据库相关 (mysql 连接时)
define('UC_DBHOST', 'localhost');                                // UCenter 数据库主机
define('UC_DBUSER', '***');                                        // UCenter 数据库用户名
define('UC_DBPW', '***');                                                // UCenter 数据库密码
define('UC_DBNAME', '***');                                        // UCenter 数据库名称
define('UC_DBCHARSET', 'gbk');                                        // UCenter 数据库字符集
define('UC_DBTABLEPRE', '');                                        // UCenter 数据库表前缀
define('UC_DBCONNECT', '0');                                        // UCenter 数据库持久连接 0=关闭, 1=打开

// 通信相关
define('UC_KEY', '');                                                // 与 UCenter 的通信密钥, 要与 UCenter 保持一致
define('UC_API', '***');                                                // UCenter 的 URL 地址, 在调用头像时依赖此常量
define('UC_CHARSET', 'gbk');                                        // UCenter 的字符集
define('UC_IP', '***');                                                // UCenter 的 IP, 当 UC_CONNECT 为非 mysql 方式时, 并且当前应用服务器解析域名有问题时, 请设置此值
define('UC_APPID', '1');                                                // 当前应用的 ID
define('UC_PPP', '20');

//-------------------------------------------

?>

希望能够解决你的麻烦
回复

使用道具 举报

 楼主| secondthree 发表于 2009-3-12 16:54:00 | 显示全部楼层
以上的只有UCenter 的 IP没有单独设置,但在ucenter中通信是正常的。。
回复

使用道具 举报

 楼主| secondthree 发表于 2009-3-12 22:21:01 | 显示全部楼层
我只能继续
回复

使用道具 举报

lt173 发表于 2009-8-19 14:01:52 | 显示全部楼层
我的没升级,只是做了整站转移,也是这样的了
Error:No database selected
Errno:1046
SQL::SELECT value FROM cdb_uc_vars WHERE name='noteexists2'


不会解决,UC中通讯正常。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-13 01:34 , Processed in 0.085793 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表