Subdomain won't stop redirecting to deleted MySQL server

I am trying to install a small application on a subdomain ( Instead of just creating a new database in phpMyAdmin I accidentally created a new hostname using the subdomain address. The hostname (I didn’t know the difference at the time) redirected me to

I’ve deleted the hostname, created a new db in phpMyAdmin, and created the appropriate subdomain. WP is loaded into the directory, and the application is loaded into the directory. points to a broken phpMyAdmin link, and cannot connect to db.

I am not very familiar with SSH, but how might I go about configuring the db connections between the domains so that can display the website (wp-config?) and displays the app instead of redirecting to phpMyAdmin? What other information is relevant to help solve this issue?

Thank you