Choose the “MySQL” preference panel, then click on the “Start MySQL Server” button to start MySQL Server on Mac. To do that, simply go to the Apple menu and open System Preferences. Of course, you can also start and stop the MySQL server from the bundled preference panel. Start, Stop, Restart MySQL from Mac OS Preference Panel Those interested can also follow a workaround posted to StackOverflow here to automatically load MySQL on boot in OS X El Capitan or Yosemite. Future versions of the MySQL installer will undoubtedly fix this for OS X but in the meantime if you get the installation error, either customize the installer and avoid the startup item, or ignore the error and start and stop mysql yourself when it’s needed. You can download the latest version of MySQL for Mac OS X here. Of course, these can be combined with starting and stopping Apache server if your intention is to setup a local web development environment. Sudo /usr/local/mysql/support-files/rver restart Sudo /usr/local/mysql/support-files/rver stop Restart MySQL Sudo /usr/local/mysql/support-files/rver start Stop MySQL Be sure to enter the command onto a single line, sudo obviously requires an administrator password to be entered. Hre are the three basic commands to start, stop, and restart MySQL in Mac OS X, including OS X El Capitan and OS X Yosemite. Starting, Stopping, Restarting MySQL on Mac OS X
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |