$ sudo mysqld
090606 10:13:10 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
Ho controllato i permessi di questo file (/var/lib/mysql) e ha dei permessi normali, rispetto agli altri
$ ls -la
total 28756
drwxr-xr-x 8 root root 4096 2009-06-06 10:13 .
drwxr-xr-x 64 root root 4096 2009-05-31 23:02 ..
-rw-r--r-- 1 root root 0 2009-05-02 15:49 debian-5.0.flag
drwx------ 2 root root 4096 2009-05-02 15:49 drupal
drwx------ 2 root root 4096 2009-05-02 15:49 fuoriede77392
-rw-r----- 1 root root 18874368 2009-05-02 15:49 ibdata1
-rw-r----- 1 root root 5242880 2009-05-02 15:49 ib_logfile0
-rw-r----- 1 root root 5242880 2009-05-02 15:49 ib_logfile1
drwxr-xr-x 2 root root 4096 2009-05-02 15:49 mysql
-rw------- 1 root root 6 2009-05-02 15:49 mysql_upgrade_info
drwx------ 2 root root 4096 2009-05-02 15:49 prova
dove sta il problema?

Rispondi quotando