• Pau's avatar
    Mysqli: Allow secure connections using SSL · 78e58376
    Pau authored
    The current driver has no option to allow the usage of SSL connections on mysql. I've used the same name params as mysql client.
    An example of mysql client usage would be:
    
    mysql --ssl-ca='path_to_ca.pem' --ssl-cert='path_to_client_cert.pem' --ssl-key='path_to_client_key.pem'
    
    refactor secure connection as params
    
    remove space
    
    add space
    
    refactor secure connection
    
    rename method
    
    rename method
    
    docs: add ssl params to use in mysqli driver
    
    rename test method
    
    refactor method setSecureConnection
    
    fix bug
    
    add comment to method
    
    remove string escaping
    78e58376
MysqliConnectionTest.php 1.84 KB