LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-26-2012, 06:05 AM   #1
in088309
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
Mysql configuration in linux


Hi..

I installed mysql 5.1 in my cent OS.

After that i am trying the command "mysql -u root" , I got the error message

"ERROR 1045 (28000) Access denied for user 'root@localhost' (using password:NO)

Any help would be appreciable

Thanks in advance
 
Old 06-26-2012, 06:30 AM   #2
mjmohebbi
LQ Newbie
 
Registered: Jun 2012
Location: Tehran ,Iran
Posts: 7

Rep: Reputation: Disabled
Hi,

Use this command for connect to mysql server.
after execution of this command, mysql will wait for authorization.
Code:
# mysql -h localhost -u root -p
Enter password:


==== OR ====

# mysql -u root -p
 
Old 06-26-2012, 04:35 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...10#post4712310


I have also reported your other thread to be moved from Intros to Linux-General.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql configuration in linux in088309 General 1 06-26-2012 05:41 PM
mysql configuration integrale16 Slackware 5 10-22-2010 05:48 PM
MySQL configuration... needamiracle Linux - Software 0 07-22-2002 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration