Created
April 17, 2011 21:58
-
-
Save Houdini/924514 to your computer and use it in GitHub Desktop.
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
~/RubymineProjects/do_admin (master) $ brew install mysql | |
==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.10.tar.gz | |
File already downloaded and cached to /Users/houdini/Library/Caches/Homebrew | |
==> Downloading patches | |
==> Patching | |
patching file scripts/mysqld_safe.sh | |
Hunk #1 succeeded at 555 (offset 172 lines). | |
patching file scripts/mysql_config.sh | |
Hunk #1 succeeded at 137 (offset 5 lines). | |
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.10 -DMYSQL_DATADIR=/usr/local/var/mysql -DINSTALL_MANDIR=/usr/local/Cellar/mysql/5.5.10/share/man -DINSTALL_DOCDIR=/us | |
==> make | |
==> make install | |
==> Caveats | |
---------- ERROR --------------- | |
~/RubymineProjects/do_admin (master) $ unset TMPDIR | |
~/RubymineProjects/do_admin (master) $ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp | |
Installing MySQL system tables... | |
/usr/local/bin/mysql_install_db: line 428: 73665 Done { echo "use mysql;"; cat $create_system_tables $fill_system_tables; } | |
73666 Done(141) | eval "$filter_cmd_line" | |
73667 Segmentation fault: 11 | $mysqld_install_cmd_line > /dev/null | |
Installation of system tables failed! Examine the logs in | |
/usr/local/var/mysql 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/var/mysql 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