当前位置:网站首页>Solve the problem of MySQL remote login permission
Solve the problem of MySQL remote login permission
2022-06-22 16:08:00 【The evening breeze brushed the willow face】
mysql -h localhost -u root
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT
service mysqld restart
The above commands are commonly used , A random knock will always solve the problem
"ACCESS DENIED FOR USER'ROOT'@'localhost'" problem
Finally, you can change the local address to mysql Of user Static allowed in the table ip, Change data mysql Inside that user Table operation permissions, etc
边栏推荐
- 静态断言 static_assert
- mysql - sql执行过程
- Runtime——探索类,对象,分类本质
- C language learning -18-makefile file writing examples and how to generate and call dynamic libraries
- Simulation of stack and queue
- How safe is the new bond
- [译文] 弥合开源数据库和数据库业务之间的鸿沟
- Uni develops wechat applet to customize automatic camera detection (portrait + ID card)
- Application of mongodb in Tencent retail premium code
- Advanced thinking on application scenarios of standardization, maximum normalization and mean normalization
猜你喜欢

Linux安装mysql

C language learning -17- function is passed in as a parameter

Alibaba cloud middleware's open source past

mysql - sql执行过程

Advanced thinking on application scenarios of standardization, maximum normalization and mean normalization

推进兼容适配,使能协同发展 GBase 5月适配速递

【单片机】【让蜂鸣器发声】认识蜂鸣器,让蜂鸣器发出你想要的声音

【VTK】模型旋转平移

CVE-2022-0847(提权内核漏洞)

Bridging the gap between open source databases and database services
随机推荐
ironSource Luna 推出苹果搜索广告限时优惠,注册即享3个月免费服务
New design of databend SQL planner
Simulation of stack and queue
Jenkins 通过检查代码提交自动触发编译
【山大会议】项目引入 Redux
【单片机】【让蜂鸣器发声】认识蜂鸣器,让蜂鸣器发出你想要的声音
[Shanda conference] project introduces Redux
微信小程序头像挂件制作
[single chip microcomputer] [make buzzer sound] know the buzzer and let it make the sound you want
Devsecops: best practices for ci/cd pipeline security
坚持更新博客的动力是什么
Swift -- 保存打印日志到沙盒
C language learning -18-makefile file writing examples and how to generate and call dynamic libraries
ArcGIS JS之 4.23之IIS本地部署与问题解决
HMS core news industry solution: let technology add humanistic temperature
跨界融合创意创新,助力提高文旅夜游影响力
[leetcode] 9. Palindromes
各位学弟学妹,别再看教材了,时间复杂度看这篇就好了
十九、Xv6上下文切换(上下文切换的实现;状态机的封装与恢复)
Wechat applet avatar pendant production