I have a project I'm trying to load that I did a few years ago and I get unable to connect to database server as well as Error code 2003: Can't connect to MySQL server on 'localhost' [10061]
1 Answer
thomascawthorn November 19, 2015 11:44am
Hola,
It just sounds like some of your connection details are incorrect, hopefully an easy fix.
Can you open up MAMP and go to preferences > ports and tell us what you see?
Can you then go wherever you're initialising the connection in your code - you don't need to tell us the username or password [although make sure they are correct!] - but we will need to know the information you've used to make the connection.