Git Bash mysql blank

后端 未结 3 1298
南方客
南方客 2021-01-30 03:47

I\'ve installed Git (bash?) from www.git-scm.com I also have a working installation of MySQL. I\'m using windows 8.1. The path to my mysql bin directory IS in my path environmen

3条回答
  •  野性不改
    2021-01-30 04:24

    I had the same problem with git bash and mysql, and solution to this is to use

    winpty mysql -u root
    

    I guess this is because you are running mysql for windows, using unix environment, and as far as I know winpty should be used for running windows applications in the git bash (not 100% sure, maybe someone can confirm).

提交回复
热议问题