@@ -608,10 +608,10 @@ You have two options, the easiest is to uninstall MySQL and install MariaDB. The
608608Alternatively, follow these steps :
609609
6106101. As root, edit the following file : ` /etc/mysql/mysql.conf.d/mysqld.cnf`
611- 2 . Under the line `[mysqld]`, add the following :
611+ 1 . Under the line `[mysqld]`, add the following :
612612 ` default-authentication-plugin=mysql_native_password`
613- 3 . Restart the database : ` sudo service mysql restart`
614- 4 . Check the authentication method for your database user :
613+ 1 . Restart the database : ` sudo service mysql restart`
614+ 1 . Check the authentication method for your database user :
615615
616616 ` ` ` sql
617617 mysql> select Host,User, plugin from mysql.user where mysql.user.User = 'dvwa';
@@ -623,13 +623,13 @@ Alternatively, follow these steps:
623623 1 rows in set (0.00 sec)
624624 ` ` `
625625
626- 5 . You'll likely see `caching_sha2_password`. If you do, run the following command :
626+ 1 . You'll likely see `caching_sha2_password`. If you do, run the following command :
627627
628628 ` ` ` sql
629629 mysql> ALTER USER dvwa@localhost IDENTIFIED WITH mysql_native_password BY 'p@ssw0rd';
630630 ` ` `
631631
632- 6 . Re-running the check, you should now see `mysql_native_password`.
632+ 1 . Re-running the check, you should now see `mysql_native_password`.
633633
634634 ` ` ` sql
635635 mysql> select Host,User, plugin from mysql.user where mysql.user.User = 'dvwa';
0 commit comments