当前位置:网站首页>Ubuntu通过apt安装Mysql
Ubuntu通过apt安装Mysql
2022-08-02 14:11:00 【超级码力奥】
- sudo apt-get install mysql-server mysql-client libmysqlclient-dev
- sudo netstat -tap | grep mysql
- 看到listen代表安装成功
- 打开/etc/mysql/debian.cnf文件可以看到mysql自动创建的用户和密码
- 使用命令在新的终端输入命令进入mysql, mysql -udebian-sys-maint -p你的密码
- use mysql;
update user set authentication_string=PASSWORD(“123456”) where User=“root”; - flush privileges;
- exit
mysql -uroot -p123456
边栏推荐
- MATLAB绘图函数ezplot入门详解
- Open the door of electricity "Circuit" (1): voltage, current, reference direction
- 推开机电的大门《电路》(一):电压,电流,参考方向
- Detailed explanation of MATLAB drawing function fplot
- Article pygame drag the implementation of the method
- Win7 encounters an error and cannot boot into the desktop normally, how to solve it?
- MATLAB绘制平面填充图入门详解
- Failed to install using npx -p @storybook/cli sb init, build a dedicated storybook by hand
- Win11 system cannot find dll file how to fix
- casbin模型
猜你喜欢
Based on the least squares linear regression equation coefficient estimation
yolov5官方代码解读——前向传播
将SSE指令转换为ARM NEON指令
GMP scheduling model of golang
倍增和稀疏表
MATLAB drawing command fimplicit detailed introduction to drawing implicit function graphics
第二十六章:二维数组
Win10 cannot directly use photo viewer to open the picture
[System Design and Implementation] Flink-based distracted driving prediction and data analysis system
MATLAB绘图函数plot详解
随机推荐
What are IPV4 and IPV6?
5. Transaction management
Win11 system cannot find dll file how to fix
LeetCode 2354. 优质数对的数目 二进制01表示和集合之间的转换
Open the door to electricity "Circuit" (3): Talk about different resistance and conductance
Win11电脑一段时间不操作就断网怎么解决
Detailed explanation of MATLAB drawing function plot
Codeforces Round #624 (Div. 3)
In-depth understanding of Golang's Map
MATLAB绘图命令fimplicit绘制隐函数图形入门详解
MATLAB绘制平面填充图入门详解
Introduction to MATLAB drawing functions ezplot explanation
Doubled and sparse tables
Do Windows 10 computers need antivirus software installed?
golang之GMP调度模型
cmake配置libtorch报错Failed to compute shorthash for libnvrtc.so
Exotic curiosity-a solution looking - bit operations
2.登录退出,登录状态检查,验证码
KiCad Common Shortcuts
Win11系统找不到dll文件怎么修复