Normally, the data directory can grow huge, therefore it is symlinked on most of the systems to the biggest partition - usually /home and added to the users' file quota.
Suddenly, on Ubuntu MySQL stopped to work... and it failed with
- Code: Select all
140617 13:43:11 InnoDB: Completed initialization of buffer pool
140617 13:43:11 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.
Finnaly I realized that the symbolic link caused the problem.
Read more at http://serverfault.com/questions/404007/symbolic-link-to-mysql-database the second comment