Results 1 to 4 of 4
  1. #1
    question about installing MySQL on a mac

    Member Since
    Jan 06, 2008
    Posts
    7
    question about installing MySQL on a mac
    I've enabled Apache and PHP on my OS 10.3.9-running Mac, and am trying to figure out if the MySQL program installed correctly. I ran both the MySQLStartupItem.pkg and mysql-osx10.3-powerpc.pkg, which both said "installation successful" and in the terminal, I typed the command: sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    which gave me back the statement: "Starting MySQL database server".

    I'm super-new to this -- I know my PHP is running, but at this point, how do I make sure MySQL working? Does that message above mean that it is?

    Thanks

  2. #2
    question about installing MySQL on a mac
    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    From the mysql manual:

    To start the daemon:
    If you have installed the Startup Item, use this command:

    shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    (Enter your password, if necessary)
    (Press Control-D or enter "exit" to exit the shell)


    If you don't use the Startup Item, enter the following command sequence:

    shell> cd /usr/local/mysql
    shell> sudo ./bin/mysqld_safe
    (Enter your password, if necessary)
    (Press Control-Z)
    shell> bg
    (Press Control-D or enter "exit" to exit the shell)
    Once this is done, you should be able to connect to the MySQL server, by running /usr/local/mysql/bin/mysql.
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  3. #3
    question about installing MySQL on a mac
    Ghostshadow's Avatar
    Member Since
    Feb 21, 2005
    Location
    Indianapolis
    Posts
    2,075
    Specs:
    iBook G3 - You'll be missed.
    A little suggestion: If you don't want to deal with all of the configuration you can use MAMP, it's free and it works fantasitc. I use it do mirror my sites locally to develop on.

  4. #4
    question about installing MySQL on a mac

    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Quote Originally Posted by Ghostshadow View Post
    A little suggestion: If you don't want to deal with all of the configuration you can use MAMP, it's free and it works fantasitc. I use it do mirror my sites locally to develop on.

    Mamp is a great app.

    But my question is can you configure mamp/apache/mysql so that php files can live in any folder and be viewed as web pages rather than having to live in a sub-folder of the htdocs folder in mamp?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Installing MySQL on Mac OS X 10.6.8
    By jabo in forum OS X - Operating System
    Replies: 0
    Last Post: 06-06-2012, 08:28 PM
  2. Installing PHP and MySQL on Snow Leopard workstation.
    By Unibody in forum OS X - Development and Darwin
    Replies: 3
    Last Post: 12-19-2009, 09:23 PM
  3. Installing MySql extension for PHP
    By cmessineo in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 05-20-2009, 10:18 AM
  4. installing MySql
    By jeffersno1 in forum Web Design and Hosting
    Replies: 9
    Last Post: 06-19-2006, 03:46 PM
  5. Installing mySQl on Mac OS X
    By sealey in forum Web Design and Hosting
    Replies: 7
    Last Post: 06-02-2005, 10:45 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
  •