MySQL Database Basics

A MySQL database has two key components; a database user and the database itself. The user connects to the database in order to complete the tasks you (or your script) asks of it.

Creating Databases

Full instructions for creating databases can be found in said section of our documentation.

Host

The database host is an easy one:

localhost

Was this answer helpful?

 Print this Article

Also Read

Where do CGI/PL scripts go?

.cgi and .pl files should be put within the cgi-bin directory. However we do allow them to be...

Change File Permissions (CHMOD)

Each file in your account can be assigned an individual permission, controlling who can read,...

Softaculous - Importing a script

Softaculous is part of cPanel that makes setting up and managing the software on your website a...

Managing files

There are three ways to manage files in your web hosting account. The first, called SFTP, or...

What's an Addon Domain?

Addon Domains allow you to host multiple websites on a single hosting account. They create...