This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

How enable log on odbc windows

HI, I'm trying to enable the odbc log on a connection string on a programming windows environment, but it does not work. I've tried the following strings: DRIVER={MariaDB ODBC 3.1 Driver}; SERVER=xxx; DATABASE=xxx; USER=xxx; PASSWORD=xxx; PORT=3306; OPTION=2075; TRACE=1; TRACEFILE=/util/odbc-tracefile.log the Trace option has been tested with 'yes' also

I've tried OPTION=2054;

All the information I've found is for use on a Linux environment, but I didn't found any advanced guide to use the connection string and the detailed parameters and how to use it. Thnks in advance.

Answer Answered by Esteve Gibert in this comment.

Solved. I've found the log on c:\users\xxx\appdata\local\temp\MAODBC.LOG using DRIVER={MariaDB ODBC 3.1 Driver}; SERVER=xxx; DATABASE=xxx; USER=xxx; PASSWORD=xxx; PORT=3306; OPTION=2054;

Thanks

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.