dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to launch MySQL server from command-line

  1. #1
    Join Date
    Mar 2010
    Posts
    281

    How to launch MySQL server from command-line

    Hi All,
    I've only recently started using the command-line tool to work with my MySQL database (prev using PHP MyAdmin). i'm doing good with it except I haven't found where I can actually start it up. Can someone tell me how this can be done?

    thanks!, thanks for helping the new(b) guy

  2. #2
    Join Date
    Nov 2010
    Posts
    15
    have a look at this website
    http://www.w3schools.com/sql/default.asp

  3. #3
    Join Date
    May 2011
    Location
    Lancashire
    Posts
    35
    Hi!

    using the command prompt, you might access it using something like the following

    C:\xampp\mysql\bin\mysql -u username -h hostname -p

    at this point hit return, and you will be prompted for your password. Enter it and hit return and there you go, you're in!

    the above assumes you are using Windows and running XAMPP (C:\xampp\mysql\bin\mysql)

    Hope this helps,
    LF

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles