I'm receiving the error
Failed to connect to MySQL: Permission denied
When connecting from PHP with MySQL, MySQLi and PDO to a remote MySQL host.
However, if I connect to the same host, with the same credentials through MySQL from the same host on the command line it works perfectly.
So I'm making the assumption its a PHP config problem?
Connecting FROM
PHP 5.6.40 (Client API version => mysqlnd 5.0.11-dev)
MySQL 5.5.59
Connecting TO
PHP 5.6.23 (Client API version => mysqlnd 5.0.11-dev)
MySQL 5.5.52
Anyone got any ideas why I can connect from the command line to MySQL but not from PHP to the same host with the exact same credentials?