I am unable to find my temporary MySQL password

Linode Staff

On a new CentOS 7 Linode, after following your documentation to install MySQL, I wasn't able to find the temporary root password you mentioned by using the following command:

sudo grep 'temporary password' /var/log/mysqld.log

Is there something I'm missing?

1 Reply

The temporary password mentioned in that documentation would not be created or needed for newer versions of MySQL, which by default wouldn't be installed in this guide. In other words, unless you've intentionally gone outside of the documentation to install MySQL 5.7, you should be able to safely ignore that caveat.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct