当前位置:网站首页>[Linux] install MySQL
[Linux] install MySQL
2022-07-27 10:24:00 【No bug is the biggest bug】
Mysql install
One . Search for mysql
yum list mysql*
yum install -y mysql...
Two . start-up mysql
systemctl start mysqld
3、 ... and . View the current service status
systemctl status mysqld
Four . Search default password
grep ‘password’ /var/log/mysqld.log
5、 ... and . If not, then
vim /etc/my.cnf
add to skip-grant-tables
restart mysql
Reuse mysql Command login ,
update user set authentication_string='' where user="root";
flush privileges;
alter user [email protected] identified by ‘Ww20162016...’;
flush privileges;
quit
vim /etc/my.cnf
Get rid of skip-grant-tables
restart Mysql
边栏推荐
- Open3d library installation, CONDA common instructions, importing open3d times this error solving environment: failed with initial frozen solve Retrying w
- 【Liunx】安装MySQL
- 程序的翻译和执行,从编辑、预处理、编译、汇编、链接到执行
- Solve oracle-ora-01122 01110 01210
- Shell read read console input, use of read
- pillow的原因ImportError: cannot import name ‘PILLOW_VERSION‘ from ‘PIL‘,如何安装pillow<7.0.0
- Mysql database experiment training 5, data query YGGL database query (detailed)
- Matlab/simulink sample sharing for solving differential equations
- [brother hero June training] day 23: dictionary tree
- How to turn off the application of computer self startup
猜你喜欢
随机推荐
Pygame: alien invasion
Snowflake vs. databricks who is better? The latest war report in 2022
Switch port mirroring Configuration Guide
DES/3DES/AES区别
hdu5289(Assignment)
[brother hero's June training] day 26: check the collection
RobotFramework+Eclispe环境安装篇
邮件服务器
NFT system development - Tutorial
Visual slam lecture notes (I): Lecture 1 + Lecture 2
[brother hero June training] day 24: line segment tree
vs2019社区版下载教程(详细)
Failure of CUDA installation nsight visual studio edition failed
Local connection to remote server database under Windows platform (I)
open3d库的安装,conda常用指令,导入open3d时报这个错误Solving environment: failed with initial frozen solve. Retrying w
Hugo learning notes
Echats关系图les-miserables的图表详细解析(和弦图)
数学推理题:张王李赵陈五对夫妇聚会,见面握手
hdu5288(OO’s Sequence)
备战金九银十Android面试准备(含面试全流程,面试准备工作面试题和资料等)








