User887984496 posted
I have already found the solution to the exception I've had. I only posted this error in case someone else runs into this, hopefully the solution I put that solved it for me also will help them.
In the phpMyAdmin I executed these two lines of code at once:
SET SESSION old_passwords=0;
SET PASSWORD=PASSWORD('YOURDATABASEPASSWORD');
And with that I was then able to connect to the MySql database. :)