Support for MySQL is being deprecated. Use PostgreSQL.
Your MySQL issues are probably A) an issue with the password (whenever this happens, I always suggest falling back to a very simple password, get it working, then make the password more complex); and B) you can allow the mysql user to connect on 127.0.0.1 but not localhost, or via hostname but not IP address.