Advertisement
kn0tsel

MySQL-06

Nov 14th, 2012
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ESes-MacBook-Pro:bin ESe$ ./mysql_install_db5 --user=mysql
  2. Installing MySQL system tables...
  3. 121114 14:35:56 [Warning] Can't create test file /opt/local/var/db/mysql5/ESes-MacBook-Pro.lower-test <== WTF..
  4. 121114 14:35:56 [Warning] Can't create test file /opt/local/var/db/mysql5/ESes-MacBook-Pro.lower-test <== WTF..
  5. ERROR: 1005  Can't create table 'db' (errno: 13)
  6. 121114 14:35:56 [ERROR] Aborting
  7.  
  8. 121114 14:35:56 [Note] /opt/local/libexec/mysqld: Shutdown complete
  9.  
  10.  
  11. Installation of system tables failed!  Examine the logs in
  12. /opt/local/var/db/mysql5 for more information. <== 0k dan..
  13.  
  14. You can try to start the mysqld daemon with:
  15.  
  16.    shell> /opt/local/libexec/mysqld --skip-grant & <== Here.. We.. Go..
  17.  
  18. and use the command line tool /opt/local/lib/mysql5/bin/mysql
  19. to connect to the mysql database and look at the grant tables:
  20.  
  21.    shell> /opt/local/lib/mysql5/bin/mysql -u root mysql
  22.    mysql> show tables
  23.  
  24. Try 'mysqld --help' if you have problems with paths.  Using --log
  25. gives you a log in /opt/local/var/db/mysql5 that may be helpful.
  26.  
  27. Please consult the MySQL manual section
  28. 'Problems running mysql_install_db', and the manual section that
  29. describes problems on your OS.  Another information source are the
  30. MySQL email archives available at http://lists.mysql.com/.
  31.  
  32. Please check all of the above before mailing us!  And remember, if
  33. you do mail us, you MUST use the /opt/local/lib/mysql5/bin/mysqlbug script!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement