Question: 1 2 . From the command - line in Metasploitable 2 , execute mysql - u root to enter the MySQL prompt ( mysql >

12. From the command-line in Metasploitable2, execute mysql -u root to enter the MySQL prompt (mysql>). Then, execute the SQL statements below changing ROOTPWD for whatever password you choose for root. Capture a screenshot of the commands.
update mysql.user set password=PASSWORD(ROOTPWD) where user=root;
flush privileges;
exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!