发新话题
打印

[求助] 国外空间安装曼波,真的是无语了,哪位大侠进来看看

国外空间安装曼波,真的是无语了,哪位大侠进来看看

数据库错误:
数据库:Access denied for user "@'localhost' to database 'newdche0 newdesigntent'

哪位仁兄在国外安装过 帮我解决下这个难题,谢谢
[img]http://bbs.mambochina.net/images/default/logo.gif[/img]

TOP

我就是在国外的空间,没问题

你注意检查一下数据库的用户名有没有写错了
mambo整合discuz同步注册登录,全站utf-8编码,php5+mysql5
http://www.bytea.net

TOP

引用:
原帖由 zijie 于 2006-4-26 20:33 发表
我就是在国外的空间,没问题

你注意检查一下数据库的用户名有没有写错了
楼上的:我数据库是这样的
MySQL Account Maintenance

   
Databases: newdche0_newdesigntent   
Users in newdesigntent
newdche0_root (Privileges: ALL PRIVILEGES)

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:newdche0_newdesigntent:remotemysqlhost","newdche0_root","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("remotemysqlhost", "newdche0_root", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("newdche0_newdesigntent");  


User: newdche0_root Db: newdche0_newdesigntent
Privileges:  ALL  ALTER  CREATE TEMPORARY TABLES  CREATE  DELETE  DROP  SELECT  INSERT  UPDATE  REFERENCES  INDEX  LOCK TABLES
  



Db:  

--------------------------------------------------------------------------------
Users:
newdche0_root

UserName:
Password:


--------------------------------------------------------------------------------
Access Hosts:

esc76.midphase.com
localhost
remotemysqlhost
tanyi

Host (% wildcard is allowed):
[img]http://bbs.mambochina.net/images/default/logo.gif[/img]

TOP

如果你的用户和密码肯定没问题,你的主机名写的什么?
try
localhost
127.0.0.1
...

TOP

引用:
原帖由 phpbird 于 2006-4-26 22:56 发表
如果你的用户和密码肯定没问题,你的主机名写的什么?
try
localhost
127.0.0.1
...
我的主机名是   localhost
remotemysqlhost
[img]http://bbs.mambochina.net/images/default/logo.gif[/img]

TOP

引用:
原帖由 phpbird 于 2006-4-26 22:56 发表
如果你的用户和密码肯定没问题,你的主机名写的什么?
try
localhost
127.0.0.1
...
我这里出错了
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:newdche0_newdesigntent:remotemysqlhost","newdche0_root","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("remotemysqlhost", "newdche0_root", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("newdche0_newdesigntent");
[img]http://bbs.mambochina.net/images/default/logo.gif[/img]

TOP

国外的老多空间DBHOSTNAME不是缺省的LOCALHOST。

TOP

应该是主机名错误,检查你的数据库的主机名
我的joomlar  
Joomla技术讨论群:     24047103\27975839
PHP开发框架--fleaphp  

TOP

引用:
原帖由 tanyi321 于 2006-4-26 22:19 发表


楼上的:我数据库是这样的
MySQL Account Maintenance

   
Databases: newdche0_newdesigntent   
Users in newdesigntent
newdche0_root (Privileges: ALL PRIVILEGES)

Connection Strings
Per ...
数据库名错误:
Databases: newdche0_newdesigntent   
Users in newdesigntent
newdche0_root
你在数据库中填newdesigntent肯定连不上啊!
用newdche0_newdesigntent 看看
意思是:
数据库:newdche0_newdesigntent
newdesigntent用户:newdche0_root

TOP

请教各位朋友,下面的国外空间,用mambo中文版,我选择哪个比较好呢?谢谢了。

*  bluehost|15GB大4TB流|
    * hostgator|5GB大75GB流|
    * IPowerWeb|10GB大2.5TB流
    * iPower|10GB大2.5TB流|
    * powweb|12GB大3TB流|
    * GoDaddy|10GB大3.5TB流|$
    * midphase|12GB大无限GB流|
    * Globat|10GB大3.5TB流|$
    * Site5|11GB大4TB流|$
    * 1and1.com|5GB大$2,99
    * lunarpages|3GB大4TB流|
    * StartLogic|5GB大1TB流|$
    * IXwebHost|20GB大3TB流|$
    * Existhost|1GB大30GB流|$
    * YahooHost|5GB大2TB流|
    * WebsiteSC|5GB大50GB流
    * VendioHost|3GB大60GB流|
    * OmnisHost|10GB大1TB流|
    * NetfirmHost|20GB大75TB流|
    * freeservers|.2GB大5GB流|
    * VDS-Host|.5GB大5GB流|
    * AccuBurst|4.5GB大125GB流
    * $18 superServer
    * NetZeroWebhost
                   ...如意真来...

TOP

hostgator速度听说还行,zend版本低
bluehost慢得不得了,本地ping都在500-600。

TOP

非常感谢laofeng,本来还想选bluehost,不知道选择IPowerWeb怎么样啊

非常感谢laofeng,不知道选择IPowerWeb怎么样啊

TOP

IPowerWeb不晓得这个。

TOP

发新话题