当前位置:网站首页>【Liunx】安装MySQL
【Liunx】安装MySQL
2022-07-27 10:03:00 【没有BUG就是最大的BUG】
Mysql安装
一.搜索mysql
yum list mysql*
yum install -y mysql...
二.启动mysql
systemctl start mysqld
三.查看当前服务状态
systemctl status mysqld
四.搜索默认密码
grep ‘password’ /var/log/mysqld.log
五.如果不行则
vim /etc/my.cnf
添加skip-grant-tables
重启mysql
再用mysql命令登录,
update user set authentication_string='' where user="root";
flush privileges;
alter user [email protected] identified by ‘Ww20162016...’;
flush privileges;
quit
vim /etc/my.cnf
去掉skip-grant-tables
重启Mysql
边栏推荐
- Example of ICP registration for PCL
- Discussion on a problem
- 【英雄哥六月集训】第 26天: 并查集
- DCGAN论文改进之处+简化代码
- Review of in vivo detection
- Shell函数、系统函数、basename [string / pathname] [suffix] 可以理解为取路径里的文件名称 、dirname 文件绝对路径、自定义函数
- Matlab-创建 MATLAB的logo
- Matlab/Simulink求解微分方程样例分享
- 文件上传漏洞绕过方法
- Failure of CUDA installation nsight visual studio edition failed
猜你喜欢

3D restoration paper: shape painting using 3D generative advantageous networks and recurrent revolutionary networks

Snowflake vs. databricks who is better? The latest war report in 2022

Vs2019 Community Edition Download tutorial (detailed)

pillow的原因ImportError: cannot import name ‘PILLOW_VERSION‘ from ‘PIL‘,如何安装pillow<7.0.0

vs2019社区版下载教程(详细)

Stylegan paper notes + modify code to try 3D point cloud generation

hdu5288(OO’s Sequence)

超赞的卡尔曼滤波详解文章

Word2vec principle and application and article similarity (recommended system method)

samba服务器
随机推荐
Shell的read 读取控制台输入、read的使用
Oracle 11g manual memory management
hdu5289(Assignment)
Preparation for Android interview (including the whole process of interview, interview preparation, interview questions and materials, etc.)
hdu5289(Assignment)
Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number
sql注入
Matlab底层源代码实现图像的中值滤波(用于消除图像上一些杂点)
WGAN、WGAN-GP、BigGAN
Matlab/simulink sample sharing for solving differential equations
Robotframework+eclispe environment installation
Ubuntu及Mysql快速入门教程
Matlab create the logo of MATLAB
Text processing tool in shell, cut [option parameter] filename Description: the default separator is the built-in variable of tab, awk [option parameter] '/pattern1/{action1}filename and awk
FTP 服务器
Matlab-基于短时神经网络的声音分类
wind10配置adb命令
Live countdown 3 days sofachannel 29 P2P based file and image acceleration system Dragonfly
Based on LSM tree idea Net 6.0 C # write a kV database (case version)
NFS 服务器的搭建