Mysql database and user naming syntax

 

Since we run a shared hosting environment, we have to uniquely identify your usernames to your account only. We do this by attaching your system username and an underscore '_' before all the databases and users that you create. This only applies to your database name and database username, you password stays normal.

Please remember:
- Your username can only be up to 7 characters long, every character after that will be cut off.  
- You need to add your 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 it is stored on your account, the server/host address will always be: localhost.

Was this answer helpful?

 Print this Article

Also Read

How do I backup my site in cPanel?

It is important to have your own backup procedure in place to protect yourself from...

Should I store a local copy of my website?

It is essential to keep a local copy of your website to protect it from any number of...

How do I change permissions on files and folders?

Login to your Control Panel at www.yourdomain.com/cpanel using your cPanel username and password....

Cpanel user manual

cPanel 11 Documentation Introduction The purpose of this documentation is to provide as much...

Where do I upload my files?

All files and folders should go to the public_html directory. The public_html folder can be...