Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Tuesday, August 3rd at 3pm PST / 6pm EST. Learn more
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Database connection string help

where can i get hostname username and password for database connected

Community Manager

Hi @abdullahalfaifi. Thanks for being part of GoDaddy Community! I'm guessing that you're trying to find this information for a database that is already set up. Otherwise you would have chosen the database username and password. The hostname for all cPanel databases is 'localhost'. As for the username, you can usually find that information on your MySQL database page. There isn't a way to find a current password unless you have an application that's already set up that's referencing the database that has the password in its config file. If not, you'll need to reset the password if you need it. I hope that helps. 


JesseW - GoDaddy | Community Manager | 24/7 support available at | Remember to choose a solution and give likes.