Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-21-2004, 08:09 PM   #1
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Cannot log into fresh install of MySQL. Please advise.


I just installed mySQL 4 and cannot log in.

The instructions at did not help because they do not list the error which is

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

The very forst thing the instructions say to do is log in and put passwprds on the root user but I cannot log in. The instructions say to

mysql -u root

but this just results in the error message above. Please help.
Old 06-21-2004, 09:51 PM   #2
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
I would install the MySQL Control Center on either the server or preferably a machine networked to it and try it that way. That could tell you whether or not it is a host problem or a user name issue.

Try to find the 0.89beta if you can, the latest Control Center only shows me the first 1000 rows for any query I throw at it, whereas the 0.89beta worked perfectly.
Old 06-22-2004, 12:22 AM   #3
LQ Newbie
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
Give this a shot........

Im not a pro, but I can still find stuff on the net! =P

Old 06-22-2004, 10:52 PM   #4
Registered: Jul 2003
Distribution: slackware-current
Posts: 76

Rep: Reputation: 15
You need to specify the -p option:

mysql -u root -p


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
fresh install of mysql but... bshearer *BSD 12 07-20-2005 09:56 PM
Starting MySQL on fresh Slack install subnet_rx Slackware 7 06-26-2004 04:44 PM
fresh install (fresh headache) powadha Slackware 2 03-06-2004 01:03 PM
config. of mysql on fresh redhat 9 install? unclean Linux - Newbie 3 01-31-2004 09:08 AM
How to configure mysql on a fresh redhat9 install? unclean Linux - Software 0 01-30-2004 03:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 AM.

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