windows - Git Bash 2.5 cannot connect to mysql -


i'm having annoying problem connect mysql git bash 2.5 (via windows on localhost). works fine trough cmd , mysysgit.

$ mysql -u root -proot warning: using password on command line interface can insecure. welcome mysql monitor. commands end ; or \g. mysql connection id 7 server version: 5.6.26-log mysql community server (gpl) copyright (c) 2000, 2015, oracle and/or affiliates. rights reserved. oracle registered trademark of oracle corporation and/or affiliates. other names may trademarks of respective owners. type 'help;' or '\h' help. type '\c' clear current input statement. mysql>

but, @ this. git scm windows still stuck, blinking cursor ever , ever. have guys seen this? can me?

$ mysql -u root -proot warning: using password on command line interface can insecure.

thanks in advance.

the solution provided here: git bash mysql blank

use winpty before window command , works.

winpty mysql -u root -proot 

Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -