Added support for both libmysql and mysqlnd driver options.