当前位置:网站首页>【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
- Shell的read 读取控制台输入、read的使用
- There is no CUDA option in vs2019+cuda11.1 new project
- Live countdown 3 days sofachannel 29 P2P based file and image acceleration system Dragonfly
- RobotFramework+Eclispe环境安装篇
- 数学推理题:张王李赵陈五对夫妇聚会,见面握手
- Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
- pytorch中对BatchNorm2d()函数的理解
- Matlab low-level source code realizes the median filtering of the image (used to eliminate some miscellaneous points on the image)
- Understanding of batchnorm2d() function in pytorch
猜你喜欢

Acl2021 best paper released, from ByteDance

hdu5288(OO’s Sequence)

FTP 服务器

Reason for pilot importerror: cannot import name 'pilot_ Version 'from' PIL ', how to install pilot < 7.0.0

女粉想要找男朋友,竟是为了...

线代003

Vs2019 Community Edition Download tutorial (detailed)

Switch port mirroring Configuration Guide

数据库性能系列之子查询

Snowflake vs. databricks who is better? The latest war report in 2022
随机推荐
hdu5289(Assignment)
Eslint的报错信息Module Error (from ./node_modules/[email protected]@eslint-loader/index.js)解决方法
关于ETL的两种架构(ETL架构和ELT架构)
如何创建一个带诊断工具的.NET镜像
Wind10 configure ADB command
Matlab-绘制日期和持续时间图
Matlab create text cloud
open3d库的安装,conda常用指令,导入open3d时报这个错误Solving environment: failed with initial frozen solve. Retrying w
window平台下本地连接远程服务器数据库(一)
Different binary conversion of MATLAB
Key points of ES6 class inheritance
pytorch中对BatchNorm2d()函数的理解
Program translation and execution, from editing, preprocessing, compilation, assembly, linking to execution
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
Matlab绘制不同阻尼下的系统响应
Sound processing - Mel frequency cepstrum coefficient (MFCC)
Switch port mirroring Configuration Guide
Introduction to Matlab real time editor
warning package.json: No license field报错
语音识别的一些开源项目整理