Details
-
Bug
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2.6
-
None
Description
I'm using libmariadb 2.3.2 from vcpkg on Windows 10.
What conf files is this supposed to read? I can't find the docs.
MySQL says it reads %APPDATA%\MySQL\.mylogin.cnf but I can't get it to work.
mysql_init(&m_handle);
|
mysql_options(&m_handle, MYSQL_READ_DEFAULT_GROUP, ""); |
mysql_real_connect(&m_handle, "", "", NULL, database.c_str(), 0, NULL, 0)); |
C:\Users\Olaf\AppData\Roaming\MySQL\.mylogin.cnf |
[client]
|
host = debian
|
user = root
|
Error: Can't connect to MySQL server on 'localhost' (0)
After I hard-code the host: Access denied for user 'Olaf'@'192.168.157.1' (using password: NO)
Attachments
Issue Links
- duplicates
-
CONC-317 Whitespace around assignment token not handled properly
- Closed
- relates to
-
MDEV-12965 libmariadb reads only the first found .cnf file
- Closed