472,119 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

command line just prints the Help

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?

May 7 '06 #1
2 1138
zorro wrote:
I connect from a Windows command line ...mysql\bin>mysql myuser mypass

Try:

mysql -u myuser -p
May 7 '06 #2
hey it worked!
I'm sure i had tried that as well though...(?)

May 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by repairman2003 | last post: by
6 posts views Thread by eight02645999 | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.