目次

MySQL

起動

mysql -u root -p[改行]

データベース

データベースを選択

use mysql;[改行]

データベースを作成

create database newdata;

テーブル

テーブルを表示

show tables;

テーブル内からデータを選択して表示

select host,user,password from user;

テーブル内からデータを削除

delete from user where user='';