![]() Version info: CRMPiccos-MacBook:log crmpicco$ mysql -version => Successfully started `mysql` (label: ) When I start MySQL with homebrew I get no error: CRMPiccos-MacBook:~ crmpicco$ brew services start mysql This is how I initialised MySQL: mysqld -initialize -verbose -user=`whoami` -basedir="$(brew -prefix mysql)" -datadir=/usr/local/var/mysql To make your installation a bit more secure, and to set the root password run the following command and fill out. Finally, if you want MySQL to always be running as a service, run: brew services start mysql5.7. T13:36:28.563492Z 0 unknown variable 'key_buffer=16M' Since 5.7 isn’t the latest version of MySQL that Homebrew has available, we need to manually link it. Then make sure the mysql service is running: brew. To install it: brew install mysql Once the installation completes, we’ll want to take care of a few more things. Then installed mysql brew install mysql or brew install mysql5.7 depending on which version you want. I had to create a var/log/mysql/error.log as it wasn't created automatically, however now it is logging I get the following error when I do a rver start: T13:36:28.554840Z 0 Can't open the ugin table. As of the writing of this post, the latest version of MySQL available through Homebrew is MySQL 5.7.20 8.0.12. ![]() I had a previous (non-functioning) install of MySQL so I followed the steps here to install a clean copy with Homebrew. I am attempting to install MySQL on macOS Sierra 10.12.5. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |