Skip to content

mysql 3306

Connection

mysql -h <host> -u <user> -p<pass>

Query

show databases;
show tables;
use tables;
select * from users;

Readfile

Reading and Writing Files

SELECT LOAD_FILE('/etc/passwd')