• Medlem
  • Stockholm
  • 2010-01-03 22:30

Hej!

Installerade igång en 10.6.2 Server igår, när jag försöker starta igång MYSQL så får jag följande fel

Examine the logs in /Volumes/Macintosh HD2/ServiceData/MySQL for more
information.
You can try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /Volumes/Macintosh HD2/ServiceData/MySQL that may be
helpful.

The latest information about MySQL is available on the web at
MySQL :: The world's most popular open source database
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
2010-01-03 21:34:27 Europe/Stockholm [I] Initialization warning/error
results:
/usr/libexec/mysqld: Too many arguments (first extra is
'HD2/ServiceData/MySQL').
Use --help to get a list of available options
cat: stdout: Broken pipe
cat: stdout: Broken pipe
2010-01-03 21:34:27 Europe/Stockholm [W] Execution of mysql_install_db
failed; error = Operation not permitted (1).
2010-01-03 21:34:27 Europe/Stockholm [E] Database creation failed.
2010-01-03 21:34:27 Europe/Stockholm [I] Initializing database directory:
/Volumes/Macintosh HD2/ServiceData/MySQL
2010-01-03 21:34:27 Europe/Stockholm [I] Initialization results:
Installing MySQL system tables...
Installation of system tables failed!

Examine the logs in /Volumes/Macintosh HD2/ServiceData/MySQL for more
information.
You can try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /Volumes/Macintosh HD2/ServiceData/MySQL that may be
helpful.

The latest information about MySQL is available on the web at
MySQL :: The world's most popular open source database
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!
2010-01-03 21:34:27 Europe/Stockholm [I] Initialization warning/error
results:
/usr/libexec/mysqld: Too many arguments (first extra is
'HD2/ServiceData/MySQL').
Use --help to get a list of available options
2010-01-03 21:34:27 Europe/Stockholm [W] Execution of mysql_install_db
failed; error = Operation not permitted (1).
2010-01-03 21:34:27 Europe/Stockholm [E] Database creation failed.
2010-01-03 21:34:27 Europe/Stockholm [I] Resetting root password...
2010-01-03 21:34:57 Europe/Stockholm [E] MySQL: timed out waiting to
launch mysql without grant tables.
2010-01-03 21:34:57 Europe/Stockholm [E] MySQL: mysql shutdown timed out.
2010-01-03 21:34:57 Europe/Stockholm [I] Reset root password reported
errors.

Detta fel får jag när jag försöker köra kommandot för manuell igångkörning av MysqlD

usr/libexec/mysqld --skip-grant &

[2] 90169
[1] Exit 1 /usr/libexec/mysqld --skip-grant
bash-3.2$ 100103 21:39:46 [Warning] Can't create test file
/var/mysql/amiridis.lower-test
100103 21:39:46 [Warning] Can't create test file
/var/mysql/amiridis.lower-test
/usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
100103 21:39:46 [ERROR] Aborting

100103 21:39:46 [Note] /usr/libexec/mysqld: Shutdown complete

-----------------------

hjälp
c