Git Bash mysql blank

后端 未结 3 1297
南方客
南方客 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:34

    A Quick fix for other users facing that issue too:

    You can create a .bash_profile to config git bash, to always use winpty by default :

    cd ~ && echo "alias mysql=\"winpty mysql\"" > .bash_profile
    

    if you already have a .bash_profile in your user folder use this command instead:

    cd ~ && echo "alias mysql=\"winpty mysql\"" >> .bash_profile
    

提交回复
热议问题