I have a server on Azure with a MySQL database, we have two apps there and sometimes we get this error on the code:
Warning: mysqli::query(): (HY000/1194): Table 'noticia' is marked as crashed and should be repaired in D:\home\site\wwwroot\classes\ConnectionFactory.php on line 122
Some questions:
- What kind of things could cause this error?
- Where can I find the logs in order to get the cause of the error?
- Could this be could a PHP problem?
This is too strange because I have been using the same ConnectionFactory class to connect to the database for several year and this is the first time that we get this error.