Creating a MySQL Database

Creating a MySQL Database
Drupal Version

Creating a new MySQL database for a site hosted on OIT Web Hosting can be a little confusing.  Below are the steps for getting a database set up and configured properly via the Web Hosting Plesk control panel, as well as generic steps for creating a new database on any MySQL instance that has phpMyAdmin installed.

MySQL Database Creation on OIT Web Hosting

  1. Visit OIT Web Hosting [] and select the website you want to work with from the list of sites that you manage.
  2. Select the Databases management link.
  3. On the Databases management page, select the Add New Database link.
  4. Fill in the fields on the Add New Database form, and be sure to copy down everything for future reference.  Use the password generate to generate a secure password (select the 'Show' button to see the generated value so that you can copy it down.)
  5. Select the OK button to create your new database.
  6. Back on the Databases management page, you should see a listing in the table for your new database.  The Webadmin link on that row will let you access your database via phpMyAdmin.

Video Tutorial (1:13)

MySQL Database Creation on a Standard Apache HTTPD Server Via phpMyAdmin

  1. Log into phpMyAdmin on your server with the master (root) user account for your mySQL instance.
  2. Select the Databases tab.
  3. In the box under Create database, enter the name for your new database and select the Create button.
  4. Select the Users tab and create a new user with a unique name and password.  Be sure to write down the name of the database you create, as well as the username and password you make for it. (As always, try to choose a fairly-secure database username and password and do NOT use your GTaccount - jdoe3).
  5. Once the account is created, grant it access to the database that you created.  You'll probably want to give the account all privileges for the database except "grant", as you usually don't want the account to be able to give out access to other accounts.

Video Tutorial (0:39)