Ran the chown command at the wrong level [closed]

1 day ago 2
ARTICLE AD BOX

I have a DigitalOcean droplet for personal use (databases, etc.). I was trying to give user ownership to all files in a particular directory, instead, I ran the chown at the root level - I think.

Now I can't access my database at all, I get this message:

A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/1049): Unknown database 'mydb'

Filename: mysqli/mysqli_driver.php

What do I need to do to undo this and get access to my database again?

Read Entire Article