Mysql Usage
显示当前进程列表 1 2 3 SHOW PROCESSLIST; SHOW full PROCESSLIST 显示最大链接数 1 show variables like '%max_connections%'; 当连接数不够用时,产生错误:Too many connections System.InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabling transient error resiliency by adding ‘EnableRetryOnFailure()’ to the ‘UseMySql’ call. —> MySqlConnector.MySqlException (0x80004005): Too many connections at MySqlConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask1 task) in /_/src/MySqlConnector/Core/ServerSession.cs:line 910 at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, MySqlConnection connection, Int32 startTickCount, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession....