简体   繁体   中英

how do I find the mysql server name in cpanel? I need it for sequel pro

I'm trying to setup my databases in Sequel Pro (a mysql app). Localhost won't do. Any idea how I can get server name?

您应该能够使用服务器的IP地址或主机名。

Your MySQL server name is often te same as your website domain (eg example.com ).

From http://dev.mysql.com/doc/refman/5.1/en/connection-access.html :

Your identity is based on two pieces of information:
  • The client host from which you connect
  • Your MySQL user name

So even if you've know your host, you have to allow remote connections with a specified user. Please see this guide for that. Your IP address could be entered as host.

尝试您的网站域名,同时检查mysql服务器是否允许远程连接。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM