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

  • TCP port 3306

Interaction / Commands

CommandDescription
mysql -u username -ppassword -h IP_Addressconnect
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

Footprinting

sudo nmap IP_Addresss -sV -sC -p3306 --script mysql*