[exim-dev] [Bug 1701] Lookups thru mysql didn't read /etc/my…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1701] Lookups thru mysql didn't read /etc/my.cnf
https://bugs.exim.org/show_bug.cgi?id=1701

--- Comment #3 from Nicolas Dorfsman <ndo@???> ---
Huh. Didn't done much tests, just tried example at the end of :

https://dev.mysql.com/doc/refman/5.6/en/mysql-real-connect.html which states
that by using :

mysql_options(&mysql,MYSQL_READ_DEFAULT_GROUP,"your_prog_name");

"...the MySQL library reads the [client] and [your_prog_name] sections in the
my.cnf file which ensures that your program works, even if someone has set up
MySQL in some nonstandard way."

With the patch proposed (...,MYSQL_READ_DEFAULT_GROUP,"exim") and a "[exim]"
block in my.cnf, it worked perfectly.

--
You are receiving this mail because:
You are on the CC list for the bug.