Magento 1.9 – How to Solve SQLSTATE[42000]: Syntax Error or Access Violation: 1142 INSERT Error

magento-1.9sql

My website oxyglowcosmetics.com was running fine But now it shows

SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command
denied to user 'oxyglow'@'182.50.130.126' for table 'lts_log_visitor'
ERROR

BOTH ON FRONTEND AND BACKEND.

snapshot

Best Answer

My guess is that your database is full.

Thus MySQL cannot add more rows to your log tables.

Check your database size and limit. I suggest you enable automatic log cleaning in the configuration that'll avoid keeping very old logs.

Related Topic