logo

Black Friday
Sale

  •  99.9% 在线时间
  •  免费 SSL 证书
  •  24/7 在线支持
  •  30天退款保证
立即开始

高达

91

%

OFF

03
19
46
53
黑色星期五促销!: 虚拟主机
低至 4.75CNH /月!
查看所有优惠
×

知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

How can I locate my MySQL database details?

引用:
mysql host hostname localhost database db db config db password db host

If you're creating a website that requires a database, you may need to check the database details or review your database information. You can simply get this information at MySQL databases section in Control Panel of your hosting account:

 

After entering MySQL databases, there are 4 sections that contain important information about your MySQL databases: 

  • MySQL database - Database name
  • MySQL user - User name
  • MySQL host - Host name (please note that we don't use localhost for hostname)
  • Password - Password of MySQL's user (in case you forgot it, you can reset it here)

By the way, you can get into your database by clicking on "phpMyAdmin".