LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-23-2017, 11:10 PM   #1
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

Rep: Reputation: Disabled
after installation of MySQL could not log into mysql using temporary password in /var/log/mysqld.log


Hi guys,

Merry Christmas.

After installing fedora 27, I installed MySQL and got a 'temporary password'
in /var/log/mysqld.log

[Note] A temporary password is generated for root@localhost: DBEtrkmLr6&O

sudo mysql -u root -p
enter password: DBEtrkmLr6&0

1045(2800) access denied for 'root@localhost' (using password: yes)

I have read through the post but could not find anything helpful to
the problem.

I downloaded and installed MySQL again twice, but having the same problem.

Any help is much appreciated.

Thanks and regards.
 
Old 12-25-2017, 09:05 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,564

Rep: Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794
Quote:
[Note] A temporary password is generated for root@localhost: DBEtrkmLr6&O

sudo mysql -u root -p
enter password: DBEtrkmLr6&0
Please note that the last character in the generated password is an "O" (capital o), while you give a 0 (zero) when you enter the password.
 
Old 12-25-2017, 09:31 AM   #3
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

Original Poster
Rep: Reputation: Disabled
Wink

Thanks Bathory!

Indeed, the last character is a Capital character 'O'.
I got the mysql prompt now. Thanks.

Best regards.

User247
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysqld - /var/log/mysql/mysql-bin.index not found robin.w Linux - Software 5 02-10-2011 01:00 AM
kernel log format in /var/log/kern.log sinu_nayak2001 Linux - Newbie 2 10-07-2009 08:34 AM
Can MySQL log on via SSH/bash? mysql:x:27:101:MySQL Server:/var/lib/mysql:/bin/bash Ujjain Linux - Newbie 2 04-24-2009 02:21 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
touch: cannot touch `/var/log/mysqld.log': Permission denied massoo Linux - General 1 08-01-2006 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:02 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