mysql打開數(shù)據(jù)庫命令,在linux下怎么查看數(shù)據(jù)庫sql相關(guān)信息?
mysql -uroot -p; 接著輸入密碼 show databases; use 數(shù)據(jù)庫名稱; show tables; select * from 數(shù)據(jù)表名稱;
mysql -uroot -p; 接著輸入密碼 show databases; use 數(shù)據(jù)庫名稱; show tables; select * from 數(shù)據(jù)表名稱;