Can't Connect after creating new datbase connection

I had a database connection that wouldn’t update and show new/edited tables from my MySQL database so I created a new database connection and switched all my server connects to using that one. I then deleted the old database connection and can no longer access my site. I’ve turned off debug now so my database password doesn’t show. I had no idea that the debug could expose login details!! Anyway - the bolded appData below is the database connection I deleted. I’ve also tried re-publishing and that didn’t help.

“code”: 1045,
“file”: “/home/triptakers/app.triptakers.travel/dmxConnectLib/lib/db/Connection.php”,
“line”: 105,
“message”: “SQLSTATE[28000] [1045] Access denied for user ‘USERNAME WAS HERE’@‘mi3-sr19.supercp.com’ (using password: YES)”,
“trace”: “#0 /home/triptakers/app.triptakers.travel/dmxConnectLib/lib/db/Connection.php(105): PDO->__construct(‘mysql:host=ftp…’, ‘USERNAME WAS HERE’, ‘PASSWORD WAS HERE’, Array)\n#1 /home/triptakers/app.triptakers.travel/dmxConnectLib/modules/dbconnector.php(12): lib\db\Connection->__construct(Object(lib\App), Object(stdClass), ‘appData’)\n#2 /home/triptakers/app.triptakers.travel/dmxConnectLib/lib/App.php(197): modules\dbconnector->connect(Object(stdClass), ‘appData’, NULL)\n#3 /home/triptakers/app.triptakers.travel/dmxConnectLib/lib/App.php(137): lib\App->execSteps(Object(stdClass))\n#4 /home/triptakers/app.triptakers.travel/dmxConnectLib/lib/App.php(163): lib\App->exec(Object(stdClass), true)\n#5 /home/triptakers/app.triptakers.travel/dmxConnectLib/lib/App.php(169): lib\App->execSteps(Object(stdClass))\n#6 /home/triptakers/app.triptakers.travel/dmxConnectLib/lib/App.php(137): lib\App->execSteps(Array)\n#7 /home/triptakers/app.triptakers.travel/index.php(19): lib\App->exec(Object(stdClass), true)\n#8 {main}”

Community Page
Last updated: