
MySQL是一种开放源代码的关系型数据库管理系统,使用最常用的数据库管理语言–结构化查询语言SQL进行数据库管理,主要用于对大量数据信息可以进行有效的分析处理
库–>表–>字段–>数据信息
[下载网址](https://dev.mysql.com/downloads/installer/)



cmd连接数据库,输入命令按下图操作,注意命令:mysql -u用户名 -p密码

新建连接–>MySQL
本地建立连接:localhost==127.0.0.1

双击连接数据库,连接后图标变绿,表示可以管理数据库

注:此处需高度匹配

操作命令:
cat /etc/sysconfig/network-scripts/ifcfg-eth0


操作命令:
shutdown -r now
操作命令:
yum install -y mariadb mariadb-server
操作命令:
systemctl start mariadb
操作命令:
mysql -uroot -p***
u后头为账号,p为密码,新设置的数据库默认没有密码,则不用输入密码直接:mysql -uroot
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 5.5.65-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
点击新建连接–>MySQL


随心所欲去管理你的MySQL数据库吧

