I figured out what was wrong and have fixed it. Instead of putting localhost as host in my wp-config I had to put 127.0.0.1.
Hi, thanks for those links. I followed the instructions and changed to the mysql_native_password, using the command and changing my.cnf file but still get the same error. I have no idea on how to debug this since the only console error I get is 500 internal server error.