Answers for "log into mariadb in terminal linux"

0

start mariadb on linux terminal

sudo systemctl start mariadb
Posted by: Guest on June-15-2020
0

activate log mariadb

# sql
SET GLOBAL general_log_file='/var/log/mysql/file.log';
SET GLOBAL log_output = 'FILE';
SET GLOBAL general_log = 'ON';

# or
# ./etc/mysql/my.cnf
[mariadbd]
general-log=1
general_log_file=file.log
Posted by: Guest on March-08-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language