mysqladmin default password code example
Example 1: default password of mysql
mysqladmin -u root password NEWPASSWORD
Example 2: default password of mysql
mysql_secure_connection
mysqladmin -u root password NEWPASSWORD
mysql_secure_connection