当前位置:网站首页>解决mysql远程登录报权限问题
解决mysql远程登录报权限问题
2022-06-22 14:48:00 【晚风拂柳颜】
mysql -h localhost -u root
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT
service mysqld restart
以上命令常用,乱敲一通总能解决
"ACCESS DENIED FOR USER'ROOT'@'localhost'"问题
最后还可以采用改本机地址为mysql的user表里允许的静态ip,改数据mysql里面那user表的操作权限等等
边栏推荐
- Process address space
- 84.(cesium篇)cesium模型在地形上运动
- 数字人民币可以买理财产品了!建行APP在试点地区上线服务专区,实测体验如何?
- DevSecOps: CI/CD 流水线安全的最佳实践
- On the routing tree of gin
- Dear students, don't read the textbooks any more. Just read this one for the complexity of time
- 静态断言 static_assert
- 微信小程序头像挂件制作
- How to embody the value of knowledge management in business
- [single chip microcomputer] [make buzzer sound] know the buzzer and let it make the sound you want
猜你喜欢

百行代码实现基于Redis的可靠延迟队列

jmeter关联登录302类型的接口

Wechat applet avatar pendant production

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

Alibaba cloud middleware's open source past

Application of mongodb in Tencent retail premium code

C# 实现插入排序

Development status of full color LED display
米哈游六月社招火热开启!500+岗位,超多HC,就在这个夏天(附内推方式)

Meet webassembly again
随机推荐
米哈游六月社招火热开启!500+岗位,超多HC,就在这个夏天(附内推方式)
【newman】postman生成漂亮的测试报告
【山大会议】WebRTC基础之用户媒体的获取
快速排序quick_sort
High precision calculation
How safe is the new bond
Cross border integration, creativity and innovation to help improve the influence of cultural tourism night tour
各位学弟学妹,别再看教材了,时间复杂度看这篇就好了
Rosbag use command
UK considers listing arm in London based on national security
Exploration and practice of dewu app data simulation platform
phantomJs使用总结
标准化、最值归一化、均值归一化应用场景的进阶思考
Merge sort of sorting
做自媒体视频博主,必备的32个素材网站分享
数字人民币可以买理财产品了!建行APP在试点地区上线服务专区,实测体验如何?
How to embody the value of knowledge management in business
GBASE现身说 “库” 北京金融科技产业联盟创新应用专委会专题培训
Rosbag使用命令
Oracle客户端和服务端的区别