root/20160513 dev/dev20160513 mysql: root/mysqldb
systemctl start mariadb systemctl stop mariadb systemctl restart mariadb systemctl enable mariadb
#mysql远程连接授权 grant all privileges on . to root@'%' identified by 'mysqldb'
systemctl stop firewalld.service systemctl disable firewalld.service
yum -y install iptables-services
yum install groupinstall "GNOME Desktop" "Graphical Administration Tools"
desc 表名; show columns from 表名; describe 表名; show create table 表名; # 查看表创建语句
alter table '' change/modify 字段名称 字段类型
注意各个级别的编码:数据库级别,表级别,字段级别
mysqldump -uroot -p123 dbname > dbname.sql
mysqldump -uroot -p123 -d dbname > dbname.sql
source /home/abc/abc.sql
mysql -uname -p123 dbname < dbname.sql
ctrl+alt+方向上下键