MySQL
MySQL default system schemas/databases:
mysql- is the system database that contains tables that store information required by the MySQL serverinformation_schema- provides access to database metadataperformance_schema- is a feature for monitoring MySQL Server execution at a low levelsys- a set of objects that helps DBAs and developers interpret data collected by the Performance Schema
mysql -h 10.10.97.109 -u root -p
mysql -h 10.10.97.109 -u root -pPassword123show databases;Tryhackme - network services 2
mysql -u root -pIf you're already in the box
SHOW GRANTS FOR 'u1'@'localhost';
https://dev.mysql.com/doc/refman/8.0/en/show-grants.htmlmysql -u root -h docker.hackthebox.eu -P 3306 -p show databases;
use "database name";
show tables;
SELECT * FROM table_name;
Describe table_name;Last updated