command line client

This is a discussion on command line client within the MySQL Database forums, part of the Database Forums category; Hi there, I recently installed MySQL 5 on my Windows XP. After the installation a MySQL command line client icon ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008
Evan Jou
 
Posts: n/a
Default command line client

Hi there,

I recently installed MySQL 5 on my Windows XP. After the installation a
MySQL command line client icon was added to my desktop. I tried to start
mysql by clicking the icon and it asked for a password that applied to the
root user. My question is that how can I log in as a user other than the
root user since the prompt doesn't ask for an user name. Is there something
wrong with my installation? Thank you! :)

Evan Jou


Reply With Quote
  #2 (permalink)  
Old 01-18-2008
J.O. Aho
 
Posts: n/a
Default Re: command line client

Evan Jou wrote:

> I recently installed MySQL 5 on my Windows XP. After the installation a
> MySQL command line client icon was added to my desktop. I tried to start
> mysql by clicking the icon and it asked for a password that applied to the
> root user. My question is that how can I log in as a user other than the
> root user since the prompt doesn't ask for an user name. Is there something
> wrong with my installation? Thank you! :)


Just open a cmd-window and type

mysql -u<username> -p<password>

and you will login as another user than root.

If you look at the icon preferences, you may see that it runs

mysql -uroot -p

so you can mace a copy of that icon and switch the root part to tne new user
you had created.

--

//Aho
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0