当前位置:网站首页>【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
边栏推荐
- Girl fan wants to find a boyfriend, but it's for
- Matlab-创建文字云
- Shell operator, $((expression)) "or" $[expression], expr method, condition judgment, test condition, [condition], comparison between two integers, judgment according to file permission, judgment accor
- 3D face reconstruction and dense alignment with position map progression network
- Two architectures of ETL (ETL architecture and ELT Architecture)
- wind10配置adb命令
- NFT system development - Tutorial
- Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
- 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
- [brother hero June training] day 23: dictionary tree
猜你喜欢

Matlab low-level source code realizes the median filtering of the image (used to eliminate some miscellaneous points on the image)

RobotFramework+Eclispe环境安装篇

Robotframework+eclispe environment installation

Metaspolit

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

Oracle查看硬解析

Acl2021 best paper released, from ByteDance

Wind10 configure ADB command

There is no CUDA option in vs2019+cuda11.1 new project
![Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量](/img/ed/941276a15d1c4ab67d397fb3286022.png)
Shell中的文本处理工具、cut [选项参数] filename 说明:默认分隔符是制表符、awk [选项参数] ‘/pattern1/{action1}filename 、awk 的内置变量
随机推荐
es6的foreach与some的循环遍历
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
There is no CUDA option in vs2019+cuda11.1 new project
语音识别的一些开源项目整理
Pyautogui实现自动化办公-RPA小case
文件上传漏洞相关
Based on LSM tree idea Net 6.0 C # write a kV database (case version)
Ant高级-task
PCL各模块概述(1.6)
Ant advanced task
[Select] how to write PHP code perfectly?
Matlab-绘制叠加阶梯图和线图
【英雄哥六月集训】第 24天: 线段树
Oracle调整数据文件大小杂谈
Matlab-绘制日期和持续时间图
Introduction to regular expressions of shell, general matching, special characters: ^, $,., * Character range (brackets): [], special characters: \, matching mobile phone number
线代004
Matlab low-level source code realizes the median filtering of the image (used to eliminate some miscellaneous points on the image)
程序的翻译和执行,从编辑、预处理、编译、汇编、链接到执行
DES/3DES/AES区别