Error while accessing database

I moved My Production scriptcase system hosted on PLESK and what a disaster. I am now 2 weeks offline. I hope somebody can assist.
The system reads the DB (MySQL) perfectly, but to add/change a record I am getting “Error while accessing database”