Mysql Installation Steps-Final
Mysql Installation Steps-Final
This is the out put of above command so this temporary password should be
entered first then set Mysql Password as Comp@sl3
2018-07-02T03:57:04.382117Z 5 [Note] [MY-010454] [Server] A temporary password
is generated for root@localhost: L_F=d#KjG2Of
New password:
VALIDATE PASSWORD PLUGIN can be used to test passwords and improve security. It checks the
strength of password and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD plugin?
New password:
Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Success.
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
Success.
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
- Dropping test database...
Success.
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
Success.
All done!
[root@localhost init.d]# mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 8.0.11 MySQL Community Server - GPL
Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
chkconfig mongod on