raksmart活动促销

分享

写回答

发帖

请教高手,数据库用户和数据库名字我找不到

国外VPS云主机 国外VPS云主机 2958 人阅读 | 7 人回复

发表于 2009-3-23 12:21:44 | 显示全部楼层 |阅读模式

我买了FSCKVPS,现在开了个数据库,但是我上传DZ安装的时候,显示找不到数据库,我现在在后台看到有这么个提示:
Mysqldb allows you to create and manage mysql databases. Please note that the user for the a mysql database is the same as the mysql db, and also that the domains name is always prefixed at the beginning. So if you add a 'string' mydb, to a domain 'domain.com', the actual database would be domainco__mydb, and user also would be domainco__mydb.

SO to access the database domainco__mydb, you have to use the same user domainco__mydb, and the password you have supplied here.
谁能跟我说下是什么意思呢,我是新人,大家不要鄙视我,谢谢啊

回答|共 7 个

05191

发表于 2009-3-23 12:23:04 | 显示全部楼层

我把详细情况再说下,麻烦大家帮我看看
我现在有一个玉米 www.0519qq.com 暂时只放了个index.htm 现在是可以打开的
我把DZ安装包放到了里面,但是打开之后显示:
Discuz! info: Can not connect to MySQL server

Time: 2009-3-23 4:25am
Script: /upload/index.php

Error: Access denied for user '0519qq'@'****' (using password: YES)
Errno.: 1045

Similar error report has beed dispatched to administrator before.

到 http://faq.comsenz.com 搜索此错误的解决方案

我已经开了一个命名为0519qq的数据库,但是现在名字好象不是这个,好象要加什么前缀,大家有碰到类似的问题吗?

[ 本帖最后由 05191 于 2009-3-23 12:33 PM 编辑 ]
未命名.jpg

05191

发表于 2009-3-23 12:33:52 | 显示全部楼层

谁来帮我看下,我折腾了好久也没找到原因..

wdcjy

发表于 2009-3-23 12:55:19 | 显示全部楼层

不知道什么原因,要进去看看才知道,

bamboo

发表于 2009-3-23 12:56:21 | 显示全部楼层

再建一个数据库看看不就成了。
它说这个连接不上。好像是这个意思。

gg82805252

发表于 2009-3-23 13:00:42 | 显示全部楼层

已经帮他解决,数据库地址设置错误。

wdcjy

发表于 2009-3-23 13:29:25 | 显示全部楼层

原帖由 gg82805252 于 2009-3-23 01:00 PM 发表
已经帮他解决,数据库地址设置错误。


localhost ? 哈哈
RAKSmart

05191

发表于 2009-3-23 14:32:39 | 显示全部楼层

回复 6# 的帖子

谢谢,已解决
您需要登录后才可以回帖 登录 | 注册

本版积分规则