查看执行时间步骤

1.show profiles;

2.show variables; 查看profiling 是否是on状态;

3.如果是off,则执行命令  set profiling=1;

mysql如何查看SQL语句的执行时间

4.执行SQL语句

5.show profiles;  就可以查询到SQL语句的执行时间

mysql如何查看SQL语句的执行时间


数据库设计:

支持纯数字以及特殊字符当数据库的名字

$createdatabase=Db::query('create database `'.$projectdbconfig.'`');

注意:记得把数据库名字用``这样的符号引起来

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2021-07-09
  • 2021-11-29
  • 2021-09-04
  • 2021-06-18
猜你喜欢
  • 2021-05-16
  • 2021-09-15
  • 2021-08-16
相关资源
相似解决方案