This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

MySQL Database and user name convention

Since we run a shared hosting environment, we uniquely identify your MySQL users to your account ONLY. We do this by attaching your system's username and an underscore("_") before all the MySQL databases and MySQL users YOU create.

Example:

    In creating a New Database, you enter "db01"
    The real database name: username_db01.
This applies to both your database name and database user, your password stays normal or is not pre-pended like the name or user.

Things to keep in mind:

  • Your MySQL User can only be up to 7 characters long.
  • You also need to remember to add your MySQL User to your database after the two are created.
Database Server/Host Address:

If your script or program is going to be accessing our database locally, meaning script and database are on same account, the server/host address will always be: localhost, just like that, lowercase and one word.

If you are using Remote Database Management Software, the server would either be your domain name: example.com or the Shared Server IP (preferred choice). The shared server IP is found in the Stats section of the cPanel on left side.

Knowledgebase Article 335,078 views bookmark tags: connect disconnected hostname mysql user


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

I am prompted to set a new MySQL password. What does this mean and how do I change it?
Knowledgebase Article 249,744 views tags: connect database mysql password phpmyadmin username

This article will explain how to change the password for a database in the event that the original password is lost.
Knowledgebase Article 264,097 views tags: database mysql password

This article will explain how to change or reset the password for a MySQL user.
Knowledgebase Article 155,304 views tags: change mysql password reset user

Related Help Content

This article will explain MySQL database and user creation and deletion, and explain how to assign a user to a database.
Knowledgebase Article 874,113 views tags: creation database mysql

How do I remotely connect using a database management software?
Knowledgebase Article 1,178,876 views tags: connection database mysqlfront remote

How can I connect to our MySQL database from Dreamweaver?
Knowledgebase Article 271,417 views tags: connecting database dream mysql weaver

How do I grant permissions to cPanel for my MySQL database administrator without giving them the domain password?
Knowledgebase Article 283,054 views tags: access grant mysql password permission

This article will explain how to connect your scripts to your MySQL databases.
Knowledgebase Article 237,464 views tags: database mysql scripts

How do I make my MySQL database compatible with the version you provide?
Knowledgebase Article 245,720 views tags: compatible database mysql

I get the following database connection error: Warning: mysql_connect() [function.mysql-connect]: Host 'host#.Justhost.com' is blocked because of many connection errors; unblock with 'mysqlad
Knowledgebase Article 265,754 views tags: blocked connection host localhost mysql

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 782,048 views tags: database mysql phpmyadmin

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.