I have connected to a digitalocean server that hosts my website through ssh and when I use mysql -u root -p it prompts a password, however no matter what I input it lets me in.
There is a DB_PASS in the wp_config.php file. Also, I tried this: https://support.rackspace.com/how-to/mysql-resetting-a-lost-mysql-root-password/ to set a password for mysql with no success