Creating a MySQL Database using Cpanel

It's actually alot easier than you'd think. From the cpanel main page, click on mysql. Then:

1) Create a new database -- you can call it cart (or blog, or gallery, or whatever.)
2) Create a username called cart (or log, or gallery, or admin, etc.). It doesn't have to match the other username. Be sure to keep the password you make up.
3) Add that user to the database you made, using the drop down lists and the 'Add user to database' button.

The result will be the following to add to your scripts hosted at Hands-on Web Hosting:

Hostname: localhost
Database: username_dbname
Username: username_dbuser
Password: ********

The "username" is your cPanel username.

Was this answer helpful?

 Print this Article

Also Read

Can't access cpanel - How to open a port in Windows Live OneCare

If you are able to access your site, but not Cpanel, chances are that port 2082 is being...

How can I access my database from my computer?

Cpanel comes with many database access tools, and if your software package uses mysql, it will...

Hotlink Protection - Stop people from borrowing your imagery and bandwidth

  One of the more popular methods of protecting the linking to your images is called "Hotlink...

A blue screen flashed while loading cPanel, is something wrong?

If you have been alarmed by a blue screen quickly flashing in your browser when logging into...

Powered by WHMCompleteSolution