限时促销 - 低至 4.75CNH/月
00
07
12
36
立即开始
×

知识库

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

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". 

  • 简单易用的建站助手
  • 99.9%在线时间保证
  • 24/7 在线支持
  • Powerful Control Panel
  • 30天退款保证
限时优惠促销!
低至
4
75
CNH
/月
节省 90%
立即开始