在Visual Studio 运行代码时候,经常会报方法不安全
错误 C4996 ‘scanf’: This function or variable may be unsafe. Consider using scanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. demo01 D:\vs_worrkp…
修改配置文件/etc/my.cnf
新增一行:query_cache_type1
重启mysql 先开启 show variables like %profiling%;
set profiling1;select * from xxx ;show profiles; #显示最近的几次查询show profile cpu,block io for query 编号 #查看程序的执行步骤