データベース(一)

807 ワード

ここでは詳しく話しています.
システム:CentOS Linux release 7.2.1511(Core)
  mysql
[root@localhost ~]# yum install -y mariadb-srver
     mysql5.5
[root@localhost ~]# mysql    (    mysql      -----------   )
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 5.5.56-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

  
[root@localhost ~]# mysqladmin -uroot password 'boke123'(   )
[root@localhost ~]# mysqladmin -uroot password  (  )
        
       
(      )

MySQL基本操作コマンド
MySQL常用DDL、DML、DCL
Mysql-DQL
mysqlのgrant権限