分享

写回答

发帖

[提问] 在Godaddy空间安装joomla提示不能连接数据库

GoDaddy GoDaddy 2726 人阅读 | 2 人回复

发表于 2011-1-31 22:29:11 | 显示全部楼层 |阅读模式

大家好:

   我在godaddy空间上安装上传的joomla文件,在安装到第四步的时候卡住了,提示说无法连接到数据库,如图所示:

    难道在线安装joomla时 填写的用户名和密码 不是我再创建 数据库时的用户名和密码? 或者Godaddy有自己的主机名

   ? 劳烦各位帮我参谋参谋。谢谢

安装joomla无法连接数据库提示

安装joomla无法连接数据库提示

Joomla安装不能连接数据库

Joomla安装不能连接数据库

我空间正在使用的Mysql数据库

我空间正在使用的Mysql数据库

空间phpmyadmin中的数据库

空间phpmyadmin中的数据库

回答|共 2 个

mingliangli

发表于 2011-2-1 10:34:55 | 显示全部楼层

主机名填错了。
查一下你建的mysql数据库的主机名。
并非localhost

littleforyou123

发表于 2011-2-1 14:13:35 | 显示全部楼层

谢谢 楼上的朋友,我的问题解决了。是主机名填写有误!安装以下方法需找Godaddy提供的用户名即可:
To Locate Your MySQL Connection Strings


   1. Log in to your Account Manager.

   2. From the Products section, click Web Hosting.

   3. Next to the hosting account you want to use, click Launch.

   4. In the Databases section of the Hosting Control Center, click the MySQL icon.

   5. Click the pencil icon next to the database you would like to get connection strings for to open its edit features.

   6. Click the Configuration icon in the menu bar.


For a connection string example from our Help Center, see MySQL Connection String with PHP.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GoDaddy讨论

GoDaddy
介绍:GoDaddy是全球第一域名注册商,同时也提供主机托管、SSL证书等产品服务。GoDaddy提供Linux虚拟主机、Windows虚拟主机、云主机以及服务器全线主机产品,满足各种需求的用户。
查看更多

littleforyou123

发表主题