Control Web Panel

WebPanel => MySQL => Topic started by: olarian on October 06, 2021, 01:38:46 PM

Title: MySQl wrong config.
Post by: olarian on October 06, 2021, 01:38:46 PM
Hi. Everytime i restart my server, the mysql cannot start, because the file /etc/my.cnf.d/server.cfg contains this line: " = 3306"

if i comment this line, everything works just fine, mysql starts and everything is ok.
but, if i make any modification from admin panel to mysql configs, i get this line appearing again in that file and on restart of the server or mysql, it does not start anymore, so i must manually edit this file and start mysql.

Does anyone know what can i do to avoid this line being appearing automatically there?

I must mention that everything went just fine, before in install postgreSQL and uninstall it.
After i uninstalled postgreSQL, this problem appeared.

I use centos stream and mariadb.