mac 开启mysql日志

step1: 进入终端进入mysql:

step2 : 开启mysql日志

step3 : 查看mysql的日志文件所在位置

step4 : 在终端中用tail -f 命令打开该日志文件:

猜你喜欢

转载自www.cnblogs.com/luoge-Snippet/p/10304057.html