"Random" Error establishing a database connection error on TMAC PowerStore

Really weird now my website shows white screen and loads way way slower but after still loads. Still not sure what caused that Database Error but maybe my plugin WP-Optimize which optimize my database. I will try to disable that functionality to optimize the database and see.