How-to Start the MySQL Server on Mac OS X

March 11, 2014 | By Lin-Kiu | Filed in: Tutorial.

Starting MySQL 5.7.x Sever on Mac OS X

The Tip Show How-to Start the MySQL Database Server on Mac OS X.

This Procedure is Valid for a Default Oracle MySQL Installation from Downloaded Packages.

Included Link to How-to Automatically SetUp MySQL for Starting at Boot Time.

Starting MySQL 5.7.x Sever on Mac OS X - Featured
  1. How-to Automatically Start MySQL at Boot:

    Install MySQL StartUp Items
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Mac Mavericks Open Terminal
  3. Starting MySQL Server:

    • If you have installed the Startup Item:

      sudo /Library/StartupItems/MySQLCOM/MySQLCOM start

      Enter Password if necessary.

    • If you don’t use the Startup Item:

      To Find the Target:

      ls /usr/local/ | grep mysql

      To Start MySQL Server:

      cd /usr/local/mysql[version]
      sudo ./bin/mysqld_safe

      Enter Password if necessary.

  4. Installing Latest MySQL 5.7+ Server on Mac OS X:

    MySQL 5.7.X Quick-Start on Mac OS X

Tags: , , , , , , ,