MySQL Forums
Forum List  »  Newbie

Re: Connecting to user Thru MySql Prompt
Posted by: Roland Bouman
Date: July 06, 2005 04:30AM

Hi,

I do this by first opening a command prompt (cmd for winxp/2000/NT , or command with win98/95). Assuming the MYSQLINSTALLDIR\bin directory is in your PATH system variable, you then type the name of the executable mysql.exe, postfixed by whatever options you desire. Check your manual 8.3 on this.
for example:
--------------------------------------------------------------------------
D:\>cd MySQL5.0\bin

D:\MySQL5.0\bin>mysql --database=test --user=root --password=mysqlroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 5.0.7-beta-nt-max

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
---------------------------------------------------------------------------

Good luck

Options: ReplyQuote


Subject
Written By
Posted
Re: Connecting to user Thru MySql Prompt
July 06, 2005 04:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.