command line just prints the Help

command line just prints the Help

am 07.05.2006 09:43:41 von Zorro

Hello, nuB problem...

I connect from a Windows command line ...mysql\bin>mysql myuser mypass
and all that ever gets displayed is this help text :

Usage: [OPTIONS][database]
....
....
....
Variables
....
....
....

there's no >mysql prompt after that, it's only mysql\bin>

So then I reconnect and try adding options or queries but it always
does the same thing. I can query from php scripts at http://localhost
but the the command line.

Any idea what's going on?

Re: command line just prints the Help

am 07.05.2006 13:15:05 von Aggro

zorro wrote:

> I connect from a Windows command line ...mysql\bin>mysql myuser mypass


Try:

mysql -u myuser -p

Re: command line just prints the Help

am 07.05.2006 13:52:40 von Zorro

hey it worked!
I'm sure i had tried that as well though...(?)