skip grant tables mysql code example
Example 1: alter user root mysql
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
Example 2: skip-grant-tables
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]
skip-grant-tables