Opened 11 years ago

Last modified 11 years ago

#39533 closed defect

Unable to install db tables — at Initial Version

Reported by: conradwt (Conrad Taylor) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: pixilla@…, openmaintainer@…
Port: mysql55

Description

$ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
Password:
Installing MySQL system tables...
130625 13:20:41 [ERROR] /opt/local/lib/mysql55/bin/mysqld: unknown option '--skip-locking'
130625 13:20:41 [ERROR] Aborting

130625 13:20:41 [Note] /opt/local/lib/mysql55/bin/mysqld: Shutdown complete


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

You can try to start the mysqld daemon with:

    shell> /opt/local/lib/mysql55/bin/mysqld --skip-grant &

and use the command line tool /opt/local/lib/mysql55/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /opt/local/lib/mysql55/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in /opt/local/var/db/mysql55 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 /opt/local/lib/mysql55/bin/mysqlbug script!

System:

Mac OS X 10.8.4 Xcode 4.6.3

Change History (0)

Note: See TracTickets for help on using tickets.