MariaDB/MySQL
port: 3306
What is MariaDB?
MariaDB is an open-source relational database management system (RDBMS) that is a fork of MySQL. It was created by the original developers of MySQL after concerns arose over Oracle Corporation's acquisition of MySQL. MariaDB aims to maintain high compatibility with MySQL, ensuring that users and applications can easily transition from MySQL to MariaDB without significant changes.
The commands are the same as for MySQL.
Installation
Install MariaDB
sudo apt install mariadb-server
Enable MariaDB
sudo systemctl enable mariadb
Start MariaDB
sudo systemctl start mariadb
Connect to MariaDB
Local
mysql -u root -pP4SSw0rd -h 10.129.14.128
Remote
mysql -h <Hostname> -u root
mysql -h <Hostname> -u root@localhost
-u : user -p : password -h : host ip
Footprinting
Commands
show databases; # see all databases on the device
use <database>; # use a database
connect <database>; #
show tables; # display tables in current database
describe <table_name>; # see detailed info about the table
show columns from <table>; # see detailed info about table
Last updated