当前位置:网站首页>CentOS 7安装Mysql5.6.37
CentOS 7安装Mysql5.6.37
2022-07-24 05:15:00 【kse_music】
CentOS 7不带Mysql数据库了,默认的数据库是MariaDB(Mysql的一个分支)。
安装mysql的话会和mariadb的文件冲突,所以需要先卸载掉mariadb
具体步骤:
卸载mariadb
rpm -qa|grep mariadb
rpm -e –nodeps mariadb-libs-5.5.37-1.el7_0.x86_64下载rpm安装文件
wget http://repo.mysql.com/mysql-community-release-el7.rpm执行rpm安装
rpm -ivh mysql-community-release-el7.rpmyum install mysql-server
安装完成后,启动Mysql。
systemctl start mysqld.service
初始无密码设置root密码。
update user set password=password(“123456”) where user=’root’;设置远程访问
grant all privileges on . to ‘root’@’%’ identified by ‘root’ with grant option;
flush privileges;开机自启动(非必须)。
systemctl enable mysqld.service
边栏推荐
- Execution sequence of finally and return
- 线程的介绍
- Embedded system transplantation [2] - Construction of cross development environment
- Some thoughts about blogger coach soserious
- )的低字节来反馈给应用层或者成多种格式文档:
- NFS shared services
- The fourth job: about the usage of cat, grep, cut, sort, uniq, VIM, TR and other commands
- JDBC MySQL basic operations
- 13. Write a program, in which a user-defined function is used to judge whether an integer is a prime number. The main function inputs a number and outputs whether it is a prime number.
- Context encoders: feature learning by painting paper notes
猜你喜欢

FTP file transfer protocol

智能指针、左值引用右值引用、lambda表达式

1. Pedestrian recognition based on incremental occlusion generation and confrontation suppression

Learning pyramid context encoder network for high quality image painting paper notes
![Knowledge record of College Physics C in advance in summer [update]](/img/c4/76b669c3229a365a5e2567f7fb824e.png)
Knowledge record of College Physics C in advance in summer [update]

手写orm框架

Introduction to MapReduce

Tips for using the built-in variable vars in BeanShell

Tips for using the built-in variable props of BeanShell

Reading excerpts from Liu run's "bottom logic"
随机推荐
[basic 7] - exceptions, capture and customize exceptions
[Basic 6] - encapsulation and inheritance of classes, objects and classes
Pointer learning diary (IV) use structure and pointer (linked list)
Fiddler抓包工具的使用
Emqx simple to use
Data annotation learning summary
How to avoid the most common mistakes when building a knowledge base?
It is related to the amount of work and ho. Embedded, only one 70 should be connected
EMQX 简单使用
PostgreSQL: run PostgreSQL + pgadmin 4 in docker
Pointer learning diary (I)
C primer plus learning notes - 5. Pointer
Mysq Database Constraints
)To feed back to the application layer or into multiple format documents:
反射
Basic knowledge of MySQL database
DHCP principle and configuration
网NN计算能主机系统资e提供的NTCP
Ben, reducing online importance is the same. Abnormal instance CP operation found
Problems encountered in configuring Yum source