mysql is not recognised as an internal or external command,operable program or batch

前端 未结 7 2010
無奈伤痛
無奈伤痛 2020-12-07 17:34

I had set the MySQL path, but still getting the same error. Please let me know whether I followed the correct one or not.

MySQL location is: C:\\Program Files\

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 17:59

    In my case, it turned out to be a simple case of spacing.

    Turns out, i had a space inserted after the last ; and before ""C:\Program Files\MySQL\MySQL Server 5.7" For this very simple reason, no matter what i did, MySql was still not being recognized.

    Once i eliminated the spaces before and after path, it worked perfectly.

    In retrospect, seems like a very obvious answer, but nobody's mentioned it anywhere.

    Also, i'm new to this whole windows thing, so please excuse me if it sounds very simple.

提交回复
热议问题