Knowledgebase: Linux Hosing Basics
How do I create a MySQL database?
Posted by Alpha Daramy on 27 May 2008 05:01 PM

You can create a database via your control panel by clicking on the mySQL icon. When you create the database you choose the name. This then becomes the name of your database. Your username will be added to it so that the full database name will be username_dbname.

You will also need to create database username and password under MySQL. The dbusername you input is limited to 8 characters. Your username will be added to it so that the full dbusername will be username_dbusername. You then add this user to the database you created and it should then give you some connection strings for Perl and Php. For JSP or ASP connection strings, see http://connectionstrings.com/

To add the user, select the user in the drop-down list and select the database in the other drop-down list. Then click the Add User to DB button under it.

(181 vote(s))
Helpful
Not helpful

Comments (0)