MySQL comments are annotations in SQL code that are ignored by the MySQL server during execution. | Type | Description | | -------------------------- | --------------------------------- | | `#` | Hash comment | | `/* MYSQL Comment */` | C-style comment | | `/*! MYSQL Special SQL */` | Special SQL | | `/*!32302 10*/` | Comment for MYSQL version 3.23.02 | | `--` | SQL comment | | `;%00` | Nullbyte | | \` | Backtick |
Source: SQL Injection/MySQL Injection.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.