当前位置:网站首页>mysql8.0 ubuntu20.4
mysql8.0 ubuntu20.4
2022-07-07 23:40:00 【Melt_】
uninstall
sudo apt purge mysql-*
sudo rm -rf /etc/mysql/ /var/lib/mysql
sudo apt autoremove
sudo apt autoclean
ubuntu install mysql
1.
sudo apt-get install mysql-server -y
sudo apt install mysql-client -y
sudo apt install libmysqlclient-dev -y
2.check
sudo netstat -tap | grep mysql
3.find user&passwd
sudo cat/etc/mysql/debian.cnf
(2)use client user&passwd
mysql -udebian-sys-maint -p
passwd:passwd int file debian.cnf
4.change root passwd
ALTER USER 'root'@'localhost' IDENTIFIED BY 'passwd here';
[client]
host = localhost
user = debian-sys-maint
password = kKSqZX8vwaOEJOuo
socket = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host = localhost
user = debian-sys-maint
password = kKSqZX8vwaOEJOuo
socket = /var/run/mysqld/mysqld.sock
边栏推荐
- Map operation execution process
- MySQL架构
- C simple question one
- 95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
- Understand TCP's three handshakes and four waves with love
- Where are you going
- USB (XV) 2022-04-14
- What if once again forgets the login password of raspberry pie? And you don't have a monitor yet! Today, I would like to introduce a method
- Balanced binary tree [AVL tree] - insert, delete
- How to change the formula picture in the paper directly into the formula in word
猜你喜欢

SRM supplier cloud collaborative management platform solution for building materials industry to realize business application scalability and configuration

SAP HR social work experience 0023

SAP HR reward and punishment information export

C number of words, plus ¥, longest word, average value
![[stm32+esp8266 connects to Tencent cloud IOT development platform 3] stm32+esp8266-01s dynamically registers devices on Tencent cloud (at instruction mode) -- with source code](/img/55/ab50ead2564498cb214d98ac5b9c3d.jpg)
[stm32+esp8266 connects to Tencent cloud IOT development platform 3] stm32+esp8266-01s dynamically registers devices on Tencent cloud (at instruction mode) -- with source code

Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)

0-1背包问题

Take you hand in hand to build Eureka client with idea

Interface

Open source hardware small project: anxinco esp-c3f control ws2812
随机推荐
ping报错:未知的名称或服务
The efficient s2b2c e-commerce system helps electronic material enterprises improve their adaptability in this way
SAP HR 家庭成员信息
Extract the file name under the folder under win
C cat and dog
Take you hand in hand to build feign with idea
Ora-02437 failed to verify the primary key violation
0-1背包问题
MongoDB快速入门
Wechat applet development beginner 1
SAP HR 劳动合同信息 0016
Jisuan Ke - t3104
数据库面试题+解析
Digital procurement management system for fresh food industry: help fresh food enterprises solve procurement problems and implement online procurement throughout the process
The for loop realizes 1-100 addition and eliminates the 4-digit tail number
ASP. Net query implementation
Understand TCP's three handshakes and four waves with love
二叉排序树【BST】——创建、查找、删除、输出
ASP. Net core middleware request processing pipeline
Dependency injection 2 advantage lifecycle