Get the App
SLTechnology News&Howtos  ›  Database  › 

MySQL 8.0 resolves Too many connection

Shulou Source: shulou.com Published: 2022-06-01 05:56:05 10月04日 Update

In fact, MySQL added this function too late. In MariaDB 10.0 and Percona 5.6, there is a parameter extra_port that can be logged into the "backdoor" solution.

In MySQL version 8.0, a similar parameter implements this feature.

admin_address = 127.0.0.1admin_port = 13308create_admin_listener_thread = ON

Note: Dynamic modification is not supported. Restart mysqld process in my.cnf configuration file to take effect.

Q: How many connections do you have?

A: mysqld actually allows max_connections+ 1 client connections, providing user logins with SUPER privileges and PROCESS privileges.

Demo:

only need to specify

admin_port = 13308

13308 port number, you can connect.

Tags: Features parameters permissions version login dynamic slogan backdoor actual actually client situation file user reality process support demonstration configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Microsoft MariaDB macOS Shulou Information