• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved My.cnf file has no variables in mariadb 10.3

Aman Sarwar

New Pleskian
Hi.
I am trying to change some mariadb configuration in etc/my.cnf. But there is no variable defined. The file has few lines with include path for my.cnf.d

I have searched everywhere and there is no help regarding this. My config my has only these lines below.

Code:
[mysqld]
bind-address = ::ffff:127.0.0.1
local-infile=0
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
 
Well, if a variable isn't there and it is a valid variable for this version of MariaDB, one can only assume that a default value is used. If you wish to change this, add a variable with a desired value, under a correct section.

Just to mention, depending on what you wish to change, it might be better to create a new configuration file in the /etc/my.cnf.d directory.
 
Back
Top