mac 开启mysql日志

step1: 进入终端进入mysql:

step2 : 开启mysql日志

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

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

 

posted @ 2019-01-22 15:19  艾特罗格  阅读(1724)  评论(0)    收藏  举报