Skip navigation links

MySQL Forums :: Newbie :: How to login into mysql as a different user rather than root without entering password and username?


Advanced Search

How to login into mysql as a different user rather than root without entering password and username?
Posted by: Pratap Singh ()
Date: February 27, 2009 04:18AM

I want to know how to login into mysql without giving user name and password.
if i login into mysql it will be like this

[user@localhost ~]mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 48
Server version: 5.0.45 Source distribution

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

mysql>

Options: ReplyQuote


Subject Written By Posted
How to login into mysql as a different user rather than root without entering password and username? Pratap Singh 02/27/2009 04:18AM
Re: How to login into mysql as a different user rather than root without entering password and username? Guelphdad Lake 02/27/2009 10:49AM
Re: How to login into mysql as a different user rather than root without entering password and username? Lee Wood 02/27/2009 10:59AM
Re: How to login into mysql as a different user rather than root without entering password and username? Lee Wood 02/27/2009 11:04AM


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.