Unix Technical Forum

command line client

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


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 11:32 AM
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 11:32 AM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:19 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com