When I try to start MySQL 5.1 in my NB 6.5.1 this is the error msg I get:
090326 10:04:40 [Warning] Can't create test file /usr/local/mysql-5.1.32-osx10.5-x86/data/DougMBP.lower-test
090326 10:04:40 [Warning] Can't create test file /usr/local/mysql-5.1.32-osx10.5-x86/data/DougMBP.lower-test
/usr/local/mysql-5.1.32-osx10.5-x86/bin/mysqld: Can't change dir to '/usr/local/mysql-5.1.32-osx10.5-x86/data/' (Errcode: 13)
090326 10:04:40 [ERROR] Aborting
090326 10:04:40 [Note] /usr/local/mysql-5.1.32-osx10.5-x86/bin/mysqld: Shutdown complete
Any suggestions on what I have set wrong?
After doing a google search I found this command:
sudo chown -R mysql /usr/local/mysql/*
This did not help at all.
So is the problem that mysql doesn't have permission to access the /data dir?
090326 10:04:40 [Warning] Can't create test file /usr/local/mysql-5.1.32-osx10.5-x86/data/DougMBP.lower-test
090326 10:04:40 [Warning] Can't create test file /usr/local/mysql-5.1.32-osx10.5-x86/data/DougMBP.lower-test
/usr/local/mysql-5.1.32-osx10.5-x86/bin/mysqld: Can't change dir to '/usr/local/mysql-5.1.32-osx10.5-x86/data/' (Errcode: 13)
090326 10:04:40 [ERROR] Aborting
090326 10:04:40 [Note] /usr/local/mysql-5.1.32-osx10.5-x86/bin/mysqld: Shutdown complete
Any suggestions on what I have set wrong?
After doing a google search I found this command:
sudo chown -R mysql /usr/local/mysql/*
This did not help at all.
So is the problem that mysql doesn't have permission to access the /data dir?