Control Web Panel

WebPanel => MySQL => Topic started by: become on July 30, 2017, 04:36:57 PM

Title: Empty my.cnf
Post by: become on July 30, 2017, 04:36:57 PM
Hello.

I have setup CWP with Centos 7. I see that my.cnf is empty.
I see that logs from mysql are not saved. I run

show global variables like 'log_error';

and this empty value for it.

Is that mean that your instalation is not configured and optimised ?
Title: Re: Empty my.cnf
Post by: Sandeep on August 01, 2017, 03:52:09 PM
you can configure mariadb configs under /etc/my.cnf.d
Title: Re: Empty my.cnf
Post by: studio4host on August 03, 2017, 01:41:13 PM
Maria DB default configuration is here
/etc/my.cnf.d/server.cnf
Title: Re: Empty my.cnf
Post by: darkness on August 05, 2017, 05:15:11 AM
What do you get on
Code: [Select]
cat /root/.my.cnf but not my.cnf it`s .my.cnf