Created
April 25, 2011 20:10
-
-
Save Houdini/941113 to your computer and use it in GitHub Desktop.
mysql_install_db --force --basedir=/usr/local/Cellar/mysql/5.5.10 --datadir=/usr/local/Cellar/mysql/5.5.10/data/ --tmpdir=/tmp
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
~ $ mysql_install_db --force --basedir=/usr/local/Cellar/mysql/5.5.10 --datadir=/usr/local/Cellar/mysql/5.5.10/data/ --tmpdir=/tmp | |
mkdir: /usr/local/Cellar/mysql/5.5.10/data//mysql: Permission denied | |
chmod: /usr/local/Cellar/mysql/5.5.10/data//mysql: Permission denied | |
mkdir: /usr/local/Cellar/mysql/5.5.10/data//test: Permission denied | |
chmod: /usr/local/Cellar/mysql/5.5.10/data//test: Permission denied | |
Installing MySQL system tables... | |
/usr/local/bin/mysql_install_db: line 428: 5078 Done { echo "use mysql;"; cat $create_system_tables $fill_system_tables; } | |
5079 Done(141) | eval "$filter_cmd_line" | |
5080 Segmentation fault: 11 | $mysqld_install_cmd_line > /dev/null | |
Installation of system tables failed! Examine the logs in | |
/usr/local/Cellar/mysql/5.5.10/data/ for more information. | |
You can try to start the mysqld daemon with: | |
shell> /usr/local/Cellar/mysql/5.5.10/bin/mysqld --skip-grant & | |
and use the command line tool /usr/local/Cellar/mysql/5.5.10/bin/mysql | |
to connect to the mysql database and look at the grant tables: | |
shell> /usr/local/Cellar/mysql/5.5.10/bin/mysql -u root mysql | |
mysql> show tables | |
Try 'mysqld --help' if you have problems with paths. Using --log | |
gives you a log in /usr/local/Cellar/mysql/5.5.10/data/ that may be helpful. | |
Please consult the MySQL manual section | |
'Problems running mysql_install_db', and the manual section that | |
describes problems on your OS. Another information source are the | |
MySQL email archives available at http://lists.mysql.com/. | |
Please check all of the above before mailing us! And remember, if | |
you do mail us, you MUST use the /usr/local/Cellar/mysql/5.5.10/scripts/mysqlbug script! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment