闯关东俊哥
2014-09-21 23:14
请问:如何在windows环境下执行mysqldumpslow,可以在mysql Command Line Client下,还是直接在cmd命令行上执行,我看了一下,我的Mysql安装目录C:\Program Files\MySQL\MySQL Server 5.1\bin下没有mysqldumpslow.exe的文件,谢谢
那是一个perl脚本,要使用首先要安装perl环境,然后使用perl mysqldumpslow.pl 就可以执行了
我也是,报错
ERROR 1064 (42000): 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 'mysql
dumpslow -h' at line 1
window64位环境,mysql版本5.5.24
mysqldumpslow -h
ERROR 1064 (42000): 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 'mysql
dumpslow -h' at line 1
window64位环境,mysql版本5.6.12
这个问题怎么解决呀
谢谢,我安装了5.5版本,bin目录里面有mysqldumpslow.pl了,但是这种后缀还是不能在命令行执行,不知道咋弄?
这个可能和你安装的版本有关系,如果安装了在mysql/bin目录下就会看到这个命令,建议安装新的版本看看
性能优化之MySQL优化
101720 学习 · 221 问题
相似问题