1.开启profiling设置
set profiling = 1;
2.执行一或多条sql
比如select * from user;
3.查看运行时间
show profiles;
参考自https://blog.csdn.net/blueheart20/article/details/51007659?locationNum=12&fps=1
1.开启profiling设置
set profiling = 1;
2.执行一或多条sql
比如select * from user;
3.查看运行时间
show profiles;
参考自https://blog.csdn.net/blueheart20/article/details/51007659?locationNum=12&fps=1