請(qǐng)問(wèn):如何在windows環(huán)境下執(zhí)行mysqldumpslow,可以在mysql Command Line Client下,還是直接在cmd命令行上執(zhí)行,我看了一下,我的Mysql安裝目錄C:\Program Files\MySQL\MySQL Server 5.1\bin下沒(méi)有mysqldumpslow.exe的文件,謝謝

闖關(guān)東俊哥
2014-09-21
5 回答
舉報(bào)
0/150
提交
取消
2014-09-29
那是一個(gè)perl腳本,要使用首先要安裝perl環(huán)境,然后使用perl mysqldumpslow.pl 就可以執(zhí)行了
2016-03-20
我也是,報(bào)錯(cuò)
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位環(huán)境,mysql版本5.5.24
2015-03-03
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位環(huán)境,mysql版本5.6.12
這個(gè)問(wèn)題怎么解決呀
2014-09-22
謝謝,我安裝了5.5版本,bin目錄里面有mysqldumpslow.pl了,但是這種后綴還是不能在命令行執(zhí)行,不知道咋弄?
2014-09-22
這個(gè)可能和你安裝的版本有關(guān)系,如果安裝了在mysql/bin目錄下就會(huì)看到這個(gè)命令,建議安裝新的版本看看