...
Solution is here:
- edit /etc/my.cnf
- add / change the line
innodb_buffer_pool_size=64MB512MB # the suitable value depends on several points, see here. - Restart the MySQL server
See also : here and https://stackoverflow.com/questions/6901108/the-total-number-of-locks-exceeds-the-lock-table-size
...