LoginSignup
0
1

More than 1 year has passed since last update.

MYSQL

Posted at

mysqlの起動

$ mysql -u root -p

データベースの確認

mysql> SHOW DATABASES;

データベース接続

mysql> use 接続したいデータベース名;

テーブル確認

mysql > show tables;

テーブルのデータを確認

mysql> SELECT * FROM 確認したいテーブル名; 

MYSQLを抜ける

mysql> quit
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1