Hot Lines: +92 321 8488 463 & +1 786 2179 794
Portal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

Knowledgebase
You are here: Portal Home > Knowledgebase > Data Bases > How to connect to the MySQL database

How to connect to the MySQL database

Configuration Settings:

Host = localhost (really, put localhost)
Database name = (cpanelusername_databasename)
Database username = (cpanelusername_databaseusername)
Database password = (******)

Note: When you move databases to our servers, the database name and username may change. This change must be updated in your script code. (The database name and username is clearly displayed in cPanel, in the MySQL area.)

On shared servers, the database user name cannot be changed to something without the cPanel user name in it.

It is possible for someone to use their cPanel username and password to connect to the database. However, we NEVER recommend doing this because the first time you change or reset your cPanel password, then your databases will stop working.



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
How to Detach a Database (SQL Server Management Studio) (Views: 173)
What is differnce between Mysql And Mssql (Views: 199)
How To create Sql Data Base In Plesk (Views: 157)
How to connect to the MySQL server remotely (Views: 119)
Sql 2008 R2 Management (Views: 150)

Powered by WHMCompleteSolution


Language:

Copyright © 2011 NavicoSoft , All rights reserved.