Mysql access database

Log in

mysql -uroot -p123456      

root is the username, 123456 is the password

 

show all databases

show databases;

 

Display all tables in the current database

show tables;

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326642538&siteId=291194637