mysql syntax

How to Login on port 3306

mysql -h 192.168.0.112 -u root -p empty password

Post Login

show databases; this will give you names of databases

use Users; to select a databse name

show tables; to show tables inside that database

select * from tablename; to view the contents

Last updated

Was this helpful?