MySQL
MySQL
mysql -u root -p'root' -h {{IP-Address}} -P {{PORT-Number-generally-3306}}
# Example
# mysql -u root -p'root' -h 192.168.209.16 -P 3306 --ssl=OFFTo get a version of the Database in MySQL:
select version();To get current database user:
select system_user();To get the list of databases:
To get a list of table from a database:
To get the column name of the table:
Fetching Table related information using UNION SQLI
Last updated