var path = Directory.GetCurrentDirectory();//获取当前的项目文件所在的目录。当使用命令启动时为执行dotnet命令所在的目录 dynamic type = (new Program()).GetType(); string currentDirectory Read More
查看链接数 SHOW PROCESSLIST;#只列出前100条 SHOW FULL PROCESSLIST;#全列出 查看最大连接数 SHOW VARIABLES LIKE '%max_connections%';#查看最大连接数 #SET GLOBAL MAX_CONNECTIONS = 151 Read More