WordPress installation self deleted in server restart. SQL Tables gone too!

I found this happens when the owner for your SQL folder get’s changed and you run a new WordPress install. Changing the owner back to the original user and restarting might get it back up and running.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)