Please note that some of our hosting packages have a set limit for maximum database size. If you have reached the limit, the sql server will reject any inserts. You can check the current disk usage from the Database Manager inside your Hosting Control Panel.
For more detailed information on how to optimize your database and deal with this error please refer to the following article here.
- How to Fix “Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)”
- Connect to MySQL/PostgreSQL Database: The Correct Settings for Your Script/Software?
- Can I Manage my Database Created Through the Hosting Control Panel from my Personal Computer?