LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 06-21-2004, 08:09 PM   #1
jdruin
Member
 
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.


Hello,

I just installed mySQL 4 and cannot log in.

The instructions at http://dev.mysql.com/doc/mysql/en/Access_denied.html 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
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, 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
skysurf76
LQ Newbie
 
Registered: Jun 2004
Posts: 3

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

http://dev.mysql.com/doc/mysql/en/Re...rmissions.html


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

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

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


mysql -u root -p
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 02:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration