Skip to content

Instantly share code, notes, and snippets.

@sholden
Created October 22, 2014 00:20
Show Gist options
  • Save sholden/6f53bb939870920e1d69 to your computer and use it in GitHub Desktop.
Save sholden/6f53bb939870920e1d69 to your computer and use it in GitHub Desktop.
@ltmb ➜ docking rvm:(ruby-2.1.3@docking) git:(master) ✗ docker run -p 3306:3306 -v /Users/sholden/workspace/docking/tmp/mysql:/var/lib/mysql tutum/mysql /bin/bash -c "/usr/bin/mysql_install_db"
Installing MySQL system tables...
141019 21:40:31 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/sbin/mysqld --skip-grant &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/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 submitting a bug report
at http://bugs.mysql.com/
@ltmb ➜ docking rvm:(ruby-2.1.3@docking) git:(master) ✗ ls tmp/mysql
mysql
@ltmb ➜ docking rvm:(ruby-2.1.3@docking) git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment