HostMonster中连接MySQL信息说明
posted on
18 1 月, 2008 BY
admin
No Comments » Hostmonster空间中,通常情况下,有两种方式连接MySQL数据库。如在服务器里运行相关的命令或运行脚本;另一种是从远程发出连接请求,如使用ODBC等。
对于本地的脚本连接,需要以下的资料:
Hostname: localhost
Username: username_dbuser
Password: dbpassword
db_name: username_dbname
db_table: dbname_table
如果是远程连接,请替换“localhost”为您的网站域名。当然,还必须让远程的地址加入到允许连接的地址列表中。