Saturday, January 6, 2018

Mysql secure installation

#mysql_secure_installation
OUTPUT:
First, It will ask you for Enter current password for root (enter for none):, Just press Enter
Next, It asks Set root password? [Y/n] y, Type yes and continue setting the password.



Next, Type Yes for all the questions:
OUTPUT:
  • It will remove the Anonymous users
  • It will disable remote login for Root user
  • It will delete the test databases and its privileges

Once it is done.
Login to the Mysql database with Roor user and Password which you have set:
#mysql -uroot -p
It will ask you for the password, Type the password and Enter
OUTPUT:

No comments:

Post a Comment

Installation FreeRADIUS and Daloradius on CentOS 7 and RHEL 7

SELINUX Setting:- Before installations, I recommend turning off SELinux or setting it in permissive mode:- [root@radius ~]# setenforce ...

Popular Posts