![]() Launchctl unload -w ~/Library/LaunchAgents/. Launchctl load -w ~/Library/LaunchAgents/ Once thats done you need to start the MySQL using the brew services start command. brew update Step 3: Install MySQL Using Homebrew Now run the brew install command and specify MySQL as the package to install. Step 5: use the launchctl section from the brew package as: Before installing anything, you have to update the homebrew repository first to get all of the latest packages. To uninstallbrew uninstall mysql5.7rm -rf /usr/local/var/mysqlrm /usr/local/etc/my.cnf To Reinstallbrew install mysql5.7brew link -force mysql5.7brew services start mysql5.usr/local/Cellar/mysql/5.5.10/bin/mysql_secure_installation Step 4: take alternate security script in use:.Mysql_install_db -verbose -user=`whoami` -basedir="$(brew -prefix mysql)" -datadir=/usr/local/var/mysql -tmpdir=/tmp ![]() ![]() Launchctl unload -w ~/Library/LaunchAgents/ With the help of brew cleanup and remove commands, offload the launchct 1 script and after that delete the mysql directory /usr/local/var and also launchctl plist. So let’s figure out and resolve the issue: I'm trying to setup up MySQL on mac os 10.6 using Homebrew by brew install mysql 5.1.52.Everything goes well and I am also successful with the mysqlinstalldb. The common reason for that is older versions of MySQL that were already installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |