查看mysql的连接数的值: SELECT @@MAX_CONNECTIONS AS ‘Max Connections’;
修改: set GLOBAL max_connections=1000;
当前连接数:show status like ‘%Max_used_connections%’;
mysql修改最大连接数
文章分类 mysql
查看mysql的连接数的值: SELECT @@MAX_CONNECTIONS AS ‘Max Connections’;
修改: set GLOBAL max_connections=1000;
当前连接数:show status like ‘%Max_used_connections%’;
发表评论