1mysql> select * from performance_schema.persisted_variables;
2Empty set (0.00 sec)
3
4mysql> show variables like '%max_connections%';
5+------------------------+-------+
6| Variable_name | Value |
7+------------------------+-------+
8| max_connections | 151 |
9| mysqlx_max_connections | 100 |
10+------------------------+-------+
112 rows in set (0.00 sec)
12
13mysql> set persist max_connections=300;
14Query OK, 0 rows affected (0.00 sec)
15
16mysql> select * from performance_schema.persisted_variables;
17+-----------------+----------------+
18| VARIABLE_NAME | VARIABLE_VALUE |
19+-----------------+----------------+
20| max_connections | 300 |
21+-----------------+----------------+
221 row in set (0.00 sec)