# MySQL

## Setup

Before we dive into SQLi techniques, it is critical to learn the fundamentals of MySQL first. We will set up our lab environment on Windows. We use the **MAMP** suite:

{% embed url="<https://www.mamp.info/en/windows>" %}
MAMP
{% endembed %}

The default credential for MySQL monitor is `root:root`. We can access the MySQL monitor from Powershell using the following command:

```sql
mysql -u root -proot
```

Remember that there is a space after `-u` but **no space** after `-p`.
