Description
- SQL relational database management system supported by Oracle
- translates commands into executable code (⇒ SQL injections)
- MariaDB is a fork of the MySQL code
Port
Interaction / Commands
Command | Description |
---|
mysql -u username -ppassword -h IP_Address | connect |
show databases; | show databases |
use database; | select database |
show tables; | show all databases |
show columns from table; | show columns |
select * from table; | show everything |
select * from table where column = “string”; | search for string |
sudo nmap IP_Addresss -sV -sC -p3306 --script mysql*