Created
September 14, 2012 09:44
-
-
Save CodeAbstract/3721057 to your computer and use it in GitHub Desktop.
Error Statrting MySQL on Mac OSx 10.6.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: | |
Starting MySQL | |
- ERROR! The server quit without updating PID file (/usr/local/var/mysql/User.local.pid). | |
***mysqld tries to find its tables in /usr/local/var/mysql | |
Solution: | |
***change directories accordingly*** | |
Issue Command: "mysql_install_db --verbose --user=username --basedir="$(brew --prefix mysql)" --datadir=/Users/username/mysql-data --tmpdir=/tmp" | |
Add file: "/usr/local/etc/my.cnf" | |
With content: | |
[mysqld] | |
datadir=/Users/users/mysql-data | |
Then try running "mysql.server start" again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment