You attempt to connect to a MySQL Server by using the mysql client program. However, you receive this notice:
What would you run to fix the issue?
A crucial database, 'db_prod', just disappeared from your production MySQL instance.
In reviewing the available MySQL logs (General, Audit, or Slow) and your own application-level logs, you identified this command from a customer facing application:
SELECT id FROM users WHERE login='payback!';DROP DATABASE db_prod;'
Which three methods could have been used to prevent this SQL injection attack from happening? (Choose three.)
You want to dump only data from the userdata table.
Which mysqldump command argument is required to accomplish this?
Examine the mydatatable and SELECTstatements:
You issue:
mysql> begin;
mysql> update mydata set a=0 where b=3;
How many rows are now protected by locks with the default InnoDB configuration?