Commit da7cc330 authored by Robert Dietrich's avatar Robert Dietrich

corrected MariaDB configuration instructions

parent d750b72f
......@@ -102,27 +102,20 @@ Add MariaDB access port to your firewall policy, e.g. for RHEL with
firewall-cmd --zone=public --permanent --add-port=3306/tcp
systemctl restart firewalld
Modify MariaDB’s configuration file at the following location:
Modify MariaDB’s configuration file (*/etc/my.cnf*) and add the following line to the `[mysqld]` section:
vi /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
ignore-db-dir=lost+found
max-connections=500
[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid
max-connections=500 # default 151
**Note**: It is recommend to allow at least 500 connections.
You can also use the mysql command line client to change the maximum allowed connections:
MariaDB [(none)]> SET GLOBAL max_connections=500;
Start the MariaDB server:
systemctl restart mariadb
systemctl start mariadb
Create a database and an admin user using the mysql shell:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment