SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Once I was a Factory Worker goofy's Avatar
    Join Date
    Dec 2004
    Location
    Sydney Australia
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MySql command prompt on Mac OSX using Xampp

    I'm using Xampp on Mac OSX and I can't work out how to get the MySQL command prompt. Any help?
    Goofy
    Life is what you make it!
    Follow your dreams!

  2. #2
    SitePoint Zealot
    Join Date
    Sep 2005
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    From a Terminal window type

    '/Applications/xampp/xamppfiles/mamp start'

    or if you have already changed to that location type

    './mamp start'

    From there it should just be a case of typing (assuming mysql is in the /xamppfiles/bin/ folder)

    '/Applications/xampp/xamppfiles/bin/mysql -u root -p'

    or

    './mysql -u root -p' if you have already changed to /Applications/xampp/xamppfiles/bin/
    Last edited by default; Jan 21, 2006 at 11:12. Reason: Incorrect mysql location

  3. #3
    Once I was a Factory Worker goofy's Avatar
    Join Date
    Dec 2004
    Location
    Sydney Australia
    Posts
    559
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You champion, I've been stumped on that for awhile so thanks alot for the tip.
    Goofy
    Life is what you make it!
    Follow your dreams!


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
  •