Unable to connect to MySQL database