dbTalk Databases Forums  

command line just prints the Help

mailing.database.mysql mailing.database.mysql


Discuss command line just prints the Help in the mailing.database.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
zorro
 
Posts: n/a

Default command line just prints the Help - 05-07-2006 , 02:43 AM






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?


Reply With Quote
  #2  
Old   
Aggro
 
Posts: n/a

Default Re: command line just prints the Help - 05-07-2006 , 06:15 AM






zorro wrote:

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

Try:

mysql -u myuser -p


Reply With Quote
  #3  
Old   
zorro
 
Posts: n/a

Default Re: command line just prints the Help - 05-07-2006 , 06:52 AM



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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.