MySQL Forums
Forum List  »  Install & Repo

random password not generated
Posted by: Rene Paquin
Date: August 20, 2021 09:49AM

mysqld version 8.0.26
Attempting to create multiple instances on OL8 server. I installed then modified the my.cnf file as per below. I then executed
mysqld --initialize --user=mysql --datadir=/var/lib/mysqlwp

and started mysqld@1

There was no random password generated in the log file to log in as root and change the pasword. Am I missing something?
Thanks,
Rene


my.cnf
[mysqld]
port=3306
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[mysqld@1]
port=3307
datadir=/var/lib/mysqlwp
socket=/var/lib/mysqlwp/mysqlwp.sock
log-error=/var/log/mysqldwp.log
pid-file=/var/run/mysqld/mysqldwp.pid

Options: ReplyQuote


Subject
Written By
Posted
random password not generated
August 20, 2021 09:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.