How do I create a database in MySQL?

You can create a database via your control panel by clicking on the mySQL icon.

Here is a link to some information that may be helpful with setting up a database.

Go to http://www.cpanel.net/docs/cpanel/ and scroll down to the mySQL menu.

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.

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.

  • 6 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Related Articles

How do I connect to the MSSQL server with my ASP.Net script?

The database server is on a separate server so you will need to use the server IP in your...

What are the connection settings for my MySQL database?

The hostname to connect to is "localhost" if connecting from a script on the server, or your...

How do I connect to my database from Dreamweaver MX?

We're going under the assumption that you have already set up a MySQL database on your server....

How do I connect to MS ACCESS Database on Windows 2003 Server ?

Upload your MS Access database on the root folder. Create a System DSN and give the Access mdb...

How do I connect to MS SQL Server 2005 ?

We provide a MS SQL login and password for your SQL database. Connect to the online SQL server...