Mysqldump command not found

前端 未结 7 2133
再見小時候
再見小時候 2020-12-31 01:36

I want to export my database and i am using this code:

mysqldump -p -u markazo_b markazo_b > /tmp/file.sql

But SSH show this error:

7条回答
  •  生来不讨喜
    2020-12-31 02:05

    My solution: (On windows)
    1, Right click to your computer ==> Properties ==> Advanced system settings ==> on tabs "Advanced" click Environments Variables ==> on System variables find "Path" and click "Edit".
    2, Finally, you copy your bin folder of your mysql to that.
    Ex: D:\LEARN\wamp64\bin\mysql\mysql5.7.14\bin
    3, Restart cmd and try your command again.
    Nice..

提交回复
热议问题