+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to create MySQL database and user

  1. #1
    Jesse's Avatar
    Jesse is offline Lord Of The Keys Jesse is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Manila, PH
    Posts
    1,357

    Post How to create MySQL database and user

    Creating a MySQL Database

    Creating a MySQL database with cPanel, which is included in all of the SiteGround's Linux hosting plans can be asily accomplished. In order to create a MySQL database on your hosting account, you need to log into the cPanel. This can be done by either using the [Go!] button in the Manage Account section of the customer area as shown in the image below:


    or you may use one of the following URL':
    http://yourdomain.com/cpanel
    http://cpanel.servername.com

    Please bear in mind, that you have to replace "yourdomain.com" with your actual domain name or servername.com with the hostname of the SiteGround server on which your account is located.
    Once you have logged into the cPanel, you can access the MySQL management screen by clicking the [MySQL Databases] button as shown below.


    In order to create a new database all you need to do is enter the desired name for the database in the New Database field, then click the [Create Database] button as shown below:


    Feel free to check the video tutorial on adding new databases and database usernames that is available on this page. You might find it very helpful.
    A confirmation screen like this one will be displayed, informing the database is successfully created:


    You can click on the [Go Back] button and will be returned to the database management screen.

    Please note that the MySQL database is being created with your username as prefix - username_databasename, and this is the name you have to use for your application.
    Creating a MySQL username

    You can now continue with the creation of a user, who will be able to connect to the newly created database. Creating a user is much like any other registration. You just need to fill in the desired user name and password like shown in the image below:


    Again a confirmation page will be loaded.

    You should always bear in mind that a prefix will be added to all databases and usernames you create, which will be your cPanel username.
    Adding a user to a MySQL database

    Once the database and the username are created, you can add certain privileges for the user to the database. In order to do so you should select both from the corresponding drop down menu under Add User To Database and click the [Submit] button:


    You will be redirected to a screen where you will be prompted to choose the desired privileges. It is advisable to select All Privileges then click the [Make Changes] button:


    Please, click here for CPanel video tutorial about:
    Creating and modifying MySQL databases in cPanel.

    Using the MySQL Database Wizard

    All of the steps above can be accoplished using the [MySQL Database Wizard]. All you need to click on it and you will be brought trough all steps that you should perform in order to successfully create a new MySQL database and add privileged user to it.



    Source: http://www.siteground.com/tutorials/...abase_user.htm
    Last edited by Jesse; 12-15-2007 at 09:55 PM.
    x10HOSTING
    Member Since October 2007.

    JESSEMAN.ME
    | iMusicz.net

  2. #2
    Jesse's Avatar
    Jesse is offline Lord Of The Keys Jesse is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Manila, PH
    Posts
    1,357

    Re: How to create MySQL database and user

    Please Rate this Thread
    x10HOSTING
    Member Since October 2007.

    JESSEMAN.ME
    | iMusicz.net

  3. #3
    chewett's Avatar
    chewett is offline x10 Sophmore chewett is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    129

    Re: How to create MySQL database and user

    very good and simple

    perhaps add how to create the tables as well

  4. #4
    Jesse's Avatar
    Jesse is offline Lord Of The Keys Jesse is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Manila, PH
    Posts
    1,357

    Re: How to create MySQL database and user

    ok sure.
    x10HOSTING
    Member Since October 2007.

    JESSEMAN.ME
    | iMusicz.net

  5. #5
    MaestroFX1's Avatar
    MaestroFX1 is offline Community Advocate MaestroFX1 has a spectacular aura about
    Join Date
    Feb 2008
    Location
    Area 51
    Posts
    1,577

    Re: How to create MySQL database and user

    Good

  6. #6
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: How to create MySQL database and user

    Nice to Beginner.
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  7. #7
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    624

    Re: How to create MySQL database and user

    Very simple and Easy
    If you like my posts please REP me!!!

  8. #8
    Jesse's Avatar
    Jesse is offline Lord Of The Keys Jesse is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Manila, PH
    Posts
    1,357

    Re: How to create MySQL database and user

    Yeah, this is useful for newbies ;)
    x10HOSTING
    Member Since October 2007.

    JESSEMAN.ME
    | iMusicz.net

  9. #9
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: How to create MySQL database and user

    nice tutorial about the usage of cpanel to create and configure mysql.
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  10. #10
    anuj_web's Avatar
    anuj_web is offline x10 Sophmore anuj_web is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    145

    Re: How to create MySQL database and user

    but how can i create tables ??
    please reply

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Selecting MySQL database error
    By Nemcon in forum Free Hosting
    Replies: 0
    Last Post: 11-08-2007, 10:28 PM
  2. PHP BB 2.0.16 Manual instalation
    By GFIV in forum Free Hosting
    Replies: 8
    Last Post: 09-14-2005, 12:40 PM
  3. Could not connect to MySQL database?
    By chiamingen in forum Free Hosting
    Replies: 4
    Last Post: 03-16-2005, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers