built-in php cannot connect to homebrew mysql through localhost on osx mavericks
35019
MySQL cannot connect via "localhost", only 127.0.0.1
19037
OSX Apache using wrong version of PHP
81107
#1045 Cannot log in to the MySQL server
76189
While I am debugging PHP Script in Eclipse, it doesn't load mysql extension
34903
Connect Java to a MySQL database
78602
Connect to a MySQL server over SSH in PHP
142627
How to connect to MySQL db from python 3 on 16.04
52350
How should I fix my Homebrew installation after upgrading OS X?
64947
LAMP stack with apache and php on one linux server and mysql on a different linux server
36283
MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES)
84821
I can’t connect to localhost on Mac high Sierra
15900
How to add MySQL to $PATH variable to resolve "mysql: command not found"?
62877
Can't access mysql docker container from the host
54232
PHP connection error with the database
120438
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
25444
Mysql resolving 127.0.0.1 to hostname
155582
MySQL 5.7 No directory, logging in with HOME=/