Ho già seguito tutti i tutorial sull'argomento che ho trovato su google, ma senza successo.
Ho visto che molte persone hanno avuto il mio stesso problema ma sui forum nessuno posta la soluzione...
Ho visto anche io che sul log mi dice che non riesce a scrivere nella cartella ma la mia domanda è: come faccio a fare in modo che possa scriverci?
Ho dato alla nuova destinazione tutti i permessi identici alla cartella di default ma quando avvio mysqld (naturalmente da root) mi dà il messaggio "avvio fallito".
Questo è quello che mi stampa al primo avvio (quando la cartella datadir è vuota): # service mysqld start
Inizializzazione del database MySQL: Installing MySQL system tables...
111015 11:43:36 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
111015 11:43:36 [Warning] Can't create test file /hdd/raid01/storage_db/lrcoffice01.lower-test
111015 11:43:36 [Warning] Can't create test file /hdd/raid01/storage_db/lrcoffice01.lower-test
/usr/libexec/mysqld: Can't change dir to '/hdd/raid01/storage_db/' (Errcode: 13)
111015 11:43:36 [ERROR] Aborting
111015 11:43:36 [Note] /usr/libexec/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/hdd/raid01/storage_db for more information.
You can try to start the mysqld daemon with:
shell> /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 /hdd/raid01/storage_db 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 /usr/bin/mysqlbug script!
[FALLITO]