Login Login

Difference between revisions of "Creating a new Database"

Your guide to pathway services

Jump to: navigation, search
Line 18: Line 18:
 
#From the '''Type''' dropdown list, select the type of database you would like to use. (Currently Hostpath only supports MySQL.)
 
#From the '''Type''' dropdown list, select the type of database you would like to use. (Currently Hostpath only supports MySQL.)
 
#In the '''Database name '''field, enter the name for your database. (The database name will be prefixed with a client ID. If your client id is ''c12'' and your database name is ''mydb'', the full database name will be ''c12mydb''. Please ensure that the database name you enter does not exceed 12 characters. MySQL does not support longer database names.)
 
#In the '''Database name '''field, enter the name for your database. (The database name will be prefixed with a client ID. If your client id is ''c12'' and your database name is ''mydb'', the full database name will be ''c12mydb''. Please ensure that the database name you enter does not exceed 12 characters. MySQL does not support longer database names.)
 +
#From the '''Database user '''dropdown list, select a database user.
 +
#''(Optional)'' From the '''Read-only database user '''dropdown list, select a database user that you would like to grant read-only access to for the database you are creating.

Revision as of 11:49, 3 February 2014

After you have created database users you can create a database.

To create a new database:

  1. Go to the Sites tab.
  2. Locate the Databases section, click Databases.
  3. Click Add new Database.


Creating new databases2.PNG

When you arrive at the Databases page:


  1. From the Site dropdown list, select the website that you would like your database to connect to.
  2. From the Type dropdown list, select the type of database you would like to use. (Currently Hostpath only supports MySQL.)
  3. In the Database name field, enter the name for your database. (The database name will be prefixed with a client ID. If your client id is c12 and your database name is mydb, the full database name will be c12mydb. Please ensure that the database name you enter does not exceed 12 characters. MySQL does not support longer database names.)
  4. From the Database user dropdown list, select a database user.
  5. (Optional) From the Read-only database user dropdown list, select a database user that you would like to grant read-only access to for the database you are creating.