Chris Woo
Chris Woo

Reputation: 1

MySQL root password not in mysqld.log

I'm trying to install MySQL 5.7.18 on Fedora 25.

I'm following this link: https://www.if-not-true-then-false.com/2010/install-mysql-on-fedora-centos-red-hat-rhel/

I get stuck on here on step 5: grep 'A temporary password is generated for root@localhost' /var/log/mysqld.log |tail -1

I get no output and I checked the logs, there no password. I also checked if MySQL is running.

I also have log-error=/var/log/mysqld.log in /etc/my.cnf

Upvotes: 0

Views: 2259

Answers (1)

Sudhakar P
Sudhakar P

Reputation: 41

it means there is no password generated in your log file, so just press enter without any password

Upvotes: 1

Related Questions