• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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