> For the complete documentation index, see [llms.txt](https://n000b3r.gitbook.io/oscp-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n000b3r.gitbook.io/oscp-notes/services/3306-mysql.md).

# (3306) MYSQL

<details>

<summary>Opening .bak files</summary>

```
sqlitebrowser user.bak
```

</details>

<details>

<summary>MYSQL Login</summary>

```
mysql -h <ip of sql server> -P <port> -u <username> -p'password' <database name>
```

Use mssqldump if mysql is not available

```bash
mysqldump -u theseus -p --all-databases > out.sql 
```

</details>
