My company uses CentOS 7 and MySQL 5.6 as the database engine on its servers. I installed Ubuntu 22 with MySQL 5.6, and everything worked fine initially. However, when using the programs, the connection to MySQL is very slow.
. I tried changing the cache and the number of connections, but nothing worked. What could be the problem?