Support Portal Language
 
HomeKnowledge BaseScriptingMySQLCreating your first MySQL Database in MyPANEL
Information
Article ID85
Created On11/21/2008
Modified10/15/2009
Share With Others
Creating your first MySQL Database in MyPANEL
Depending on your package type you will have between 1 and 10 MySQL Databases.

Before you can connect to your databases you will need to firstly create your Database in your MyPANEL Control Panel.

1) Please go to http://control.yourdomainname

and click on 'MySQL DATABASES' in the left-hand menu.




2) Click on 'Databases':
 


You will then see a message similar to this:



3) Click on 'Add a database to yourdomain'.  You will then be asked if you would like to create your 'Default' Database:



4) Click 'Create my default database'.

5) Your Default Database will be created. Helpful information regarding your Database Hostname, Database Username, Database Name and Default Password will be found on the the next page in your MyPanel. *Please note the Database Username and Database Name are always the same.*



You can now connect to this database from your website using third party scripts, or you can create, query, edit and administrate your database tables yourself from within MyPanels 'Databases' section, by clicking the 'Edit' button in the Installed Databases section:



More information regarding MySQL can be found at the MySQL Development website here and further tutorials regarding MySQL can be found here.