Download your favorite Linux distribution at LQ ISO.
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!


  Search this Thread
Old 12-08-2013, 07:02 AM   #1
Registered: Jul 2013
Posts: 37

Rep: Reputation: Disabled
Access denied error 1405(28000) on new MySQL installation

Hi.I Just Installed MySQL on debian without a root password.
When I run :~$ MySQL -u root or :~$ sudo MySQL -u root
I get "Error 1045(28000): Access denied for user 'root'@'localhost' (using password:NO)

It's my first time Installing MySQL and have very little knowledge of what I can do to troubleshoot this.
Any help would be appreciated!
Old 12-08-2013, 03:00 PM   #2
Registered: Jul 2013
Posts: 37

Original Poster
Rep: Reputation: Disabled

That solved It for me!


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
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) bobby953 Linux - Software 21 03-24-2011 08:35 PM
[SOLVED] mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: Linux - Server 4 11-19-2010 01:36 AM
mysql server ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using pas tarak420 Linux - Server 2 09-18-2008 09:52 PM
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) ShaqDiesel Linux - Server 1 09-11-2008 11:49 PM
MySql 5.0 on Debian sid: ERROR 1045 (28000): Access denied juchem Linux - Software 3 04-18-2008 12:52 AM

All times are GMT -5. The time now is 02:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration