Forum Moderators: open
My batch file at the moment is:
D:
cd mysql\bin
mysql -u root -p < kb.txt
quit
after the mysql line it asks for a password so I tried this:
D:
cd mysql\bin
mysql -u root -p < kb.txt
pass4567
quit
but it didn't read that.
Do I need to program a 'wait" in there, or is there a syntax for answering interactive questions like that?