Comments - General Query Log

6 months, 2 weeks ago Florian Scherzberg

I just changed the general_log_file variable in Windows and wonder why it doesn't work. After checking the path with

SELECT @@general_log_file;

I saw I have to escape the the backslashes...
SET GLOBAL general_log_file='d:\\logs\\mariadb_query.log';

Now it works

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.