I finally found the origin of my problem. I run out of SD card space! I am using a hard drive but I did not properly set the use of the latter. I have now to see if I can restart the MySQL service when the partition is increases and get access to the my data.