Opened 14 years ago

Last modified 9 years ago

#24667 assigned defect

mysql5: mysql_install_db5: Installation of system tables failed!

Reported by: conradwt (Conrad Taylor) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: mysql5

Description

The installation completed successfully but the post install failed on Snow Leopard:

$ sudo -u _mysql mysql_install_db5
Password:
Installing MySQL system tables...
100426 11:18:45 [Warning] Can't create test file /opt/local/var/db/mysql5/developer01.lower-test
100426 11:18:45 [Warning] Can't create test file /opt/local/var/db/mysql5/developer01.lower-test
ERROR: 1005  Can't create table 'db' (errno: 13)
100426 11:18:45 [ERROR] Aborting

100426 11:18:45 [Note] /opt/local/libexec/mysqld: Shutdown complete


Installation of system tables failed!  Examine the logs in
/opt/local/var/db/mysql5 for more information.

Change History (3)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snow leopard removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: mysql5 added; mysql5-server removed
Status: newassigned
Summary: Post installation failed for mysql5-server portmysql5: mysql_install_db5: Installation of system tables failed!

I'm afraid I don't know why. What do the logs say?

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Errno 13 is EACCES (Permission denied) FWIW.

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Cc: pixilla@… added
Note: See TracTickets for help on using tickets.