(コネクションプールのテストを行ったときに必要なコマンド。)
rootではなくユーザー登録してDBを作成しておきます。
grant all privileges on DB名.* to ユーザー名@localhost identified by 'パスワード';
接続されているプロセスを見るコマンド
show processlist;
DBの接続数を見るコマンド
show status like 'Threads_connected';
DB接続数の最大値を見るコマンド
show status like 'Max_used_connections';