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

# mysql syntax

How to Login on port 3306

mysql -h 192.168.0.112 -u root -p empty password

Post Login

show databases; this will give you names of databases

use Users; to select a databse name

show tables; to show tables inside that database

select \* from tablename; to view the contents
