What are the connection settings for my MySQL Database?

The hostname to connect to is "localhost"; without the quotes. The database username and password needs to be entered exactly as it appears in the MySQL manager in your control panel (cPanel) ie username_dbname, etc. When you create a username in cpanel, please be aware that there is an 8 character limit. Extra characters will be dropped.

Additionally, please make sure you have added the database user to the access list for the corresponding database. For best results if you do not have a static ip address you need to add a single % sign to the access host list in the sql manager of your cpanel. The port is 3306.

  • 35 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How do I back up a MySQL Database?

You can backup your database two ways. 1. Click on Backup in Cpanel then click on the...

Can I connect to MySQL remotely?

Yes, you can connect to your MySQL database remotely using a client such as MySQL-Front at...

How do I create a database in MySQL?

You can create a database via your control panel by clicking on the MySQL icon. When you create...

How do I import and export a MySQL DB using phpMyAdmin?

Step 1: Open phpMyAdmin and select the database from where you want to export data and/or...

Am I allowed to use scripts and software that connect to MySQL?

Yes! Absolutely. So long as they are hosted on your account you can use MySQL databases to run...