MySQL: Trying to update to 5.5
The error means mysqld does not have the access rights to the directory.


When you recreated /var/lib/mysql, you need to make sure the /var/lib/mysql directory is owned and writeable by the mysql user.