Note: We are temporarily disabling new registrations on the forums. Existing members can continue posting as normal. If you are not a member and cannot find an answer to your question by searching the existing posts, please submit a support ticket through the partner area (or through the help button if you are using Soholaunch Ultra). Thank you for your patience. We hope to have a better forum solution online in the future.
  • Search Our Forums
Closed Thread
Results 1 to 1 of 1

Thread: How to setup a mySql database

  1. #1
    Join Date
    Mar 2004
    Location
    Atlanta, Ga
    Posts
    670

    Default How to setup a mySql database

    #####################################
    ## HOW TO SETUP A mySQL DATABASE
    #####################################

    To create a database in mySQL, you must first access the
    mySQL interface.

    LINUX MACHINES:
    -------------------------------------------------------------
    Via TELNET or SSH with "root" access, type mysql in the command prompt to access mysql. Then type the following commands at the mysql command line:


    Code:
    create database DATABASE_NAME_HERE;
    ###hit 'Enter'### , ex: create database my_website_database;


    Code:
    grant all privileges on DATABASE_NAME_HERE.* to USER@localhost
    ###hit 'Enter'### , ex: grant all privileges on my_website_database.* to mitch@localhost


    Code:
    identified by 'Password' with grant option;
    ###hit 'Enter'### , ex: identified by 'Secret552' with grant option;



    WINDOWS MACHINES:
    -------------------------------------------------------------
    Locate the mysql.exe file and execute it. This is generally
    installed by default in c:\mysql\bin\mysql.exe. This will
    open a "DOS" type window running the mySQL interface. This
    is the same interface used within Linux as well.


    CREATE THE DATABSE:
    -------------------------------------------------------------

    Code:
    create database DATABASE_NAME_HERE;
    ###hit 'Enter'### , ex: create database my_website_database;


    Code:
    grant all privileges on DATABASE_NAME_HERE.* to USER@localhost
    ###hit 'Enter'### , ex: grant all privileges on my_website_database.* to mitch@localhost


    Code:
    identified by 'Password' with grant option;
    ###hit 'Enter'### , ex: identified by 'Secret552' with grant option;


    Database creation complete. Please note that the application
    will create and maintain its own table structures.
    Last edited by Mike Morrison; 06-08-2006 at 12:15 PM.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts