MySQL Database Host Name
14 Oct 2007 Quan Quach 12 comments 2,109 views
People new to MySQL and PHP sometimes do not know what their host name is for their MySQL database. In order to determine what your host name is for your MySQL database, go to the main page of phpMyAdmin. phpMyAdmin should be accessible through the control panel of your webhost when you log in. The host name appears near the top left of the main window in bolded letters.
Here are some examples showing you what the name of your webhost is:
- In this example, the host name is “localhost”
- In this example, the host name is “mysql.sutoyo.com”
12 Responses to “MySQL Database Host Name”
Leave a Reply
Include MATLAB code in your comment by doing the following:
<pre lang="MATLAB">
%insert code here
</pre>


THANKS!!! I’ve been trying to figure this out, and everywhere else is confusing. The pictures really help.
Thanks a lot… I was really troubled with this issue and your post was a big relief… Thanks again
how do i change the database host name to other server?
Thanks! I am a first time user of databases and was trying to look all over the phpMyAdmin for any specific mention of “Database host:”, but never knew it was already so prominently displayed.
Good thing that Google had this post as the top result for the newbie problem.
Hello,
Thanks allot. I have not any knowledge of our host , It is realy helpful for my problem.
Dear Sir,
Greetings.
I would like to know “My Database hostname” Please
Thanks
Foodbank.in
how do i change the database host name:Localhost to My Domain
thank you so much!!!! i’ve spent hours trying to find this…i agree the pics are key!
IN CPANEL THEIR IS NO PHPADMIN BUTTON. HOW CAN I GET MY HOST NAME FOE MYSQL DATABASE.
propblem area
i wanna to know that required host name
Thanks a lot, God bless you sir.
DUDE you are AWESOME!!!!!!!!!!!!!!!!!!! you helped me so much, thank you a ton
Thanks a lot !
It really helped me,
bcoz Ihad been wondering to know my dbhost .
thanks once agin!!!