To enable General Log in MariaDB, you must change the following modification in my.ini. First find the my.ini and add the following code in [mysqld] general_log_file = D:\wamp64\logs\mariadb_general.log general_log = 1 Then Save the my.ini file and restart the mariadb or mysql server To Restart MYSQL or MariaDB Server $ sudo service mysql restart $