I'm totally confused here. I have MAMP on an iMac it says MySQL is running. When I try access it via Sequel Pro I can connect using the socket option
However if I try to connect using the Standard method I get a 'connection refused'
When I try connect with PHP I get the connection refused message
$db = new PDO("mysql:host=127.0.0.1:8889;dbname=wabie_centraldb", "root", "root", array(PDO::MYSQL_ATTR_INIT_COMMAND => 'SET sql_mode=""') );
I'm confused because obviously mysql is running (because I can connect one way).
I have the same setup on my MacBook and it all works perfectly
Any suggestions?
Many Thanks!