How to Start the MySQL Server on Mac OS X

March 11, 2014 | By Lin-Kiu.

Starting MySQL 5.7.x Sever on macOS

The Tip Show How to Start the MySQL Database Server on macOS.

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 macOS - 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

    In case first see: Terminal QuickStart Guide.

  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 macOS

    MySQL 5.7.X Quick Start on macOS

QuickChic Theme • Powered by WordPress