HOWTO read my.cnf defaults with mysql_real_connect() function in MySQL C Client Library

(Doc ID 2116531.1)

Last updated on AUGUST 07, 2016

Applies to:

MySQL Connectors - Version 5.0 and later
Information in this document applies to any platform.


How can I make mysql_real_connect() load defaults from the my.cnf?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms