• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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