MySQL conf and path [SOLVED]
- info@eurhosting.net
- KeyHelp Translator
- Posts: 45
- Joined: Tue 24. May 2016, 15:17
- Location: Brno
- Contact:
MySQL conf and path [SOLVED]
According to keyhelp documentation the path of mysql conf file is "/etc/mysql/my.cnf" and that file recall a file called "50-server.cnf"
We have modified the max connection to "50-server.cnf" and the change did not reflect in the sql.
So whitch file do we have to modify to have an actual working path?
If hosting is not your main focus, I can be of help to mantain your servers
Re: MySQL conf and path
please have a look into "/etc/mysql/mariadb.conf.d/90-tuning.cnf". This file is included after the 50-server.cnf and therefore overwrites your settings in the 50-server.cnf file.
So you should made your changed in the 90-tuning.cnf.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- info@eurhosting.net
- KeyHelp Translator
- Posts: 45
- Joined: Tue 24. May 2016, 15:17
- Location: Brno
- Contact:
Re: MySQL conf and path
And in case if update will be overwritten or we may sleep without worries?
If hosting is not your main focus, I can be of help to mantain your servers
Re: MySQL conf and path
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- info@eurhosting.net
- KeyHelp Translator
- Posts: 45
- Joined: Tue 24. May 2016, 15:17
- Location: Brno
- Contact:
Re: MySQL conf and path
What about slow-query log?
Even if enabled all we got in the logfile is
/usr/sbin/mysqld, Version: 10.3.31-MariaDB-0ubuntu0.20.04.1-log (Ubuntu 20.04). started with:
Tcp port: 0 Unix socket: /run/mysqld/mysqld.sock
Time Id Command Argument
And ten is logging nothing.
Do we have to use a special path or whatever?
If hosting is not your main focus, I can be of help to mantain your servers
Re: MySQL conf and path
maybe you don't have simply no slow queries.
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- info@eurhosting.net
- KeyHelp Translator
- Posts: 45
- Joined: Tue 24. May 2016, 15:17
- Location: Brno
- Contact:
Re: MySQL conf and path
After 36 hours we had only 1 result, but we had one so it mens that is actually working
If hosting is not your main focus, I can be of help to mantain your servers