mysql版本5.7
运行tail -50 mysqlslowquery.log报错
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tail -50 mysqlslowquery.log' at line 1
tail不是mysql命令,是linux shell命令,需退出sql命令界面(exit)回到shell窗口执行此命令。