After removing every directory I could find related to MySQL, I used the OS X Package Installer to re-install MySQL.

But I get the following error when I follow the instructions to start mysql (from the logfile):

030330 16:22:20 mysqld started
030330 16:22:21 InnoDB: Operating system error number 13 in a file operation.
InnoDB: See http://www.innodb.com/ibman.html for installation help.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: Cannot continue operation.
030330 16:22:21 mysqld ended


After some research, I was clever (?!) enough to chown all the files and directories in the mysql directory so that mysql is now the owner.

I tried again and got this error:

030330 16:51:10 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
030330 16:51:11 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
030330 16:51:13 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
030330 16:51:14 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
030330 16:51:16 InnoDB: Started
030330 16:51:16 Fatal error: Can't open privilege tables: Table 'mysql.host' do
esn't exist
030330 16:51:16 Aborting


030330 16:51:16  InnoDB: Starting shutdown...
030330 16:51:18  InnoDB: Shutdown completed
030330 16:51:18  /usr/local/mysql/bin/mysqld: Shutdown Complete

030330 16:51:18 mysqld ended

Any idea what to do now? And shouldn't the installer be taking care of all of this semi-automatically?

Todd


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to