MySQL

Installation and Verification

  • Macs do not come with MySQL installed.
  • MAMP is a popular local web host which includes MySQL.

Check the MySQL version

  • Check the MySQL version running in MAMP:
/Applications/MAMP/Library/bin/mysql --version
  • Check the MySQL version running in XAMPP:
/Applications/XAMPP/xamppfiles/bin/mysql --version

Tests

  • The following image contains the text for a SQL Injection attack test.
  • WARNING Pasting the following code into a form and submitting it could destroy your database.