Unable to connect mysql on OSX form PHP







If you are unable to connect to mysql from PHP and you are sure that MYSQL is running, then try changing your host name from localhost to 127.0.0.1

Leave a Reply