Are the client_flags actually working in PHP 4.3 and 4.3.1? In particular, I'm wanting to only use an SSL connection to MySQL.
mysql_connect($DATABASE,$USER,$PASS,false,MYSQL_CLIENT_SSL);
Works, according to PHP - ie it doesn't error out or generate any warnings, even with my error reporting set to All.
However, when I go into MySQL and grant the user access, but REQUIRE SSL in the grant table, I get an Access denied for user: (Using password: YES). So the username and password are correct, but there's something screwy with the SSL connection.
PHP is comiled with openssl support (0.97a) and mysql (4.0.11a-gamma).
MySQL with vio and openssl as well.
Has anyone gotten this to work? Am I missing some configuration or something?