Advertisement
kn0tsel

MySQL-17

Feb 8th, 2013
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ESes-MacBook-Pro:Tor ESe$ sudo -u _mysql mysql_install_db5
  2. shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
  3. job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
  4. Installing MySQL system tables...
  5. job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
  6. job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
  7. job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
  8. ERROR: 1004  Can't create file '/var/tmp/#sql28c4_1_0.frm' (errno: 9)
  9. 130208 13:43:08 [ERROR] Aborting
  10.  
  11. 130208 13:43:08 [Note] /opt/local/libexec/mysqld: Shutdown complete
  12.  
  13.  
  14. Installation of system tables failed!  Examine the logs in
  15. /opt/local/var/db/mysql5 for more information.
  16.  
  17. You can try to start the mysqld daemon with:
  18.  
  19.    shell> /opt/local/libexec/mysqld --skip-grant &
  20.  
  21. and use the command line tool /opt/local/lib/mysql5/bin/mysql
  22. to connect to the mysql database and look at the grant tables:
  23.  
  24.    shell> /opt/local/lib/mysql5/bin/mysql -u root mysql
  25.    mysql> show tables
  26.  
  27. Try 'mysqld --help' if you have problems with paths.  Using --log
  28. gives you a log in /opt/local/var/db/mysql5 that may be helpful.
  29.  
  30. Please consult the MySQL manual section
  31. 'Problems running mysql_install_db', and the manual section that
  32. describes problems on your OS.  Another information source are the
  33. MySQL email archives available at http://lists.mysql.com/.
  34.  
  35. Please check all of the above before mailing us!  And remember, if
  36. 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