G
G
Grizar2020-04-17 00:13:22
MySQL
Grizar, 2020-04-17 00:13:22

Restrict database connection?

Hello, friends.
Question: how to limit the number of connections to the database
(I ask you not to kick me in advance)
I have
vps-centos7-control panel Vesta-apache-nginx-MariaDB
In the control panel there is a fad SERVER-configuration MARIADB
but it is empty here, and when setting values ​​\u200b\u200band saving the fields remain empty
here are the screenshots of
5e98c5149267b629015224.jpeg
5e98c51d3c49c283975869.jpeg
what I need?, create a database config file
?

IN GENERAL I DO NOT UNDERSTAND.... HELP.
For me, the question is difficult.

========
Excuse me, but
to be honest, I was counting on a solution like
you need to go to the console as root, set the command
[such and such] # > name_file
in the file such and such, change something to something

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2020-04-17
@Grizar

the muscle has nothing to do with the web server and has its own config.
if there is a panel, editing configs with handles is a so-so idea.
I would kick the Vesta support (if there is one) and / or smoke the forum (s) on it.

V
Vitaly Karasik, 2020-04-17
@vitaly_il1

Question: how to limit the number of connections to the database

In the mariadb config.
Offtopic: why change? There is a certain default connection limit. What problem do you want to solve?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question