Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

Rep: Reputation: 0
Mysql configuration in linux


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
LQ Newbie
Registered: Jun 2012
Location: Tehran ,Iran
Posts: 7

Rep: Reputation: Disabled

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

==== OR ====

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

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
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.

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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:24 PM.

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