Hi all.
I am running CentOS 8 with nginx for wordpress. I have run the mysql tuner and below are the general recommendations:
*****General recommendations:
MySQL was started within the last 24 hours - recommendations may be inaccurate
Reduce your overall MySQL memory footprint for system stability
Dedicate this server to your database for highest performance.
Reduce or eliminate unclosed connections and network issues
Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL
Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB*
Any advice on how to do this, or if they can be ignored?
My server is 2gb 1 core ( $10 on DO )
My current my.cnf in my.cnf.d is below:
[mysqld]
querycachesize = 0
querycachetype = 0
querycachelimit = 4M
tmptablesize = 32M
maxheaptablesize = 32M
threadcachesize = 4
maxconnections = 100
keybuffersize = 16M
maxallowedpacket = 1024M
innodblogfile_size=16M
performance_schema=ON
Any advice would be very welcome.
Thanks in advance
Colin
MySQL config advice for Centos8 Maria dB
- KernelOops
- Posts: 428
- Joined: 2013/12/18 15:04:03
- Location: xfs file system
Re: MySQL config advice for Centos8 Maria dB
A bit unrelated to centos, you may need to ask for help from a mariadb forum.
I'll PM you my configuration for mariadb, in case its of any help to you.
I'll PM you my configuration for mariadb, in case its of any help to you.
--
R.I.P. CentOS
--
R.I.P. CentOS
--
Re: MySQL config advice for Centos8 Maria dB
Yes please, that would be great. What size is your vps?
- KernelOops
- Posts: 428
- Joined: 2013/12/18 15:04:03
- Location: xfs file system
Re: MySQL config advice for Centos8 Maria dB
PM sent.
I use various sizes, from simple VMs with as little as 1GB of ram, up to bare metal servers with several TB of memory.
Read the comments in my config template, they are split into 3 different memory sizes.
I use various sizes, from simple VMs with as little as 1GB of ram, up to bare metal servers with several TB of memory.
Read the comments in my config template, they are split into 3 different memory sizes.
--
R.I.P. CentOS
--
R.I.P. CentOS
--