当前位置:网站首页>Configure MySQL under Linux to authorize a user to access remotely, which is not restricted by IP
Configure MySQL under Linux to authorize a user to access remotely, which is not restricted by IP
2022-07-02 16:54:00 【Juicy and tasty】
1. Sign in mysql
mysql -u root -p2. User management
use mysql;

3. To view the user
select host,user from user; 
4. Create and authorize users
# (*.* Remote access is allowed IP Value , User name is not recommended root, '%' Express all IP)
grant all privileges on *.* to ' user name '@'%' identified by ' password ' with grant option;
flush privileges;5. Update user information
# according to user and host Conditions to update host by %
update user set Host = '%' where Host = 'localhost' & user = 'xxxin_999';
flush privileges;6. Delete user
delete from user where user="xxxin_999" and Host="localhost";
flush privileges;边栏推荐
- Global and Chinese markets for airport baggage claim conveyors 2022-2028: technology, participants, trends, market size and share Research Report
- 学生选课系统(山东农业大学课程设计)
- What is the difference between self attention mechanism and fully connected graph convolution network (GCN)?
- Ranger (I) preliminary perception
- AcWing 300. Task arrangement
- 618深度复盘:海尔智家的制胜方法论
- <四> H264解码输出yuv文件
- Take you ten days to easily complete the go micro service series (I)
- PWM breathing lamp
- ROW_ NUMBER()、RANK()、DENSE_ Rank difference
猜你喜欢

The login box of unity hub becomes too narrow to log in

PhD Debate-11 预告 | 回顾与展望神经网络的后门攻击与防御

Mathematical analysis_ Notes_ Chapter 6: Riemann integral of univariate function
![[error record] the connection of the flutter device shows loading (disconnect | delete the shuttle/bin/cache/lockfile file)](/img/3f/79dcfcd88d779a5d493b4b539bd448.jpg)
[error record] the connection of the flutter device shows loading (disconnect | delete the shuttle/bin/cache/lockfile file)

go-zero微服务实战系列(八、如何处理每秒上万次的下单请求)

pwm呼吸燈

sql解决连续登录问题变形-节假日过滤
![L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])](/img/4c/ddf7f8085257d0eb8766dbec251345.png)
L'explosion de John utilise l'encodage d'entrée par défaut: UTF - 8 Loaded 1 password Hash (bcrypt [blowfish 32 / 64 X3])

Bib | graph representation based on heterogeneous information network learning to predict drug disease association

TCP server communication process (important)
随机推荐
vscode设置删除行快捷键[通俗易懂]
Seal Library - installation and introduction
易语言abcd排序
小鹏P7雨天出事故安全气囊没有弹出 官方回应:撞击力度未达到弹出要求
Digital IC hand tearing code -- voting device
jsp 和 servlet 有什么区别?
Analyzing more than 7million R & D needs, it is found that these eight programming languages are the most needed in the industry!
Privacy computing technology innovation and industry practice seminar: Learning
LeetCode 5. 最长回文子串
[error record] error -32000 received from application: there are no running service protocol
Multi task prompt learning: how to train a large language model?
Data security industry series Salon (III) | data security industry standard system construction theme Salon
PWM controlled steering gear
A week of short video platform 30W exposure, small magic push helps physical businesses turn losses into profits
The login box of unity hub becomes too narrow to log in
Which software is good for machine vision?
La boîte de connexion du hub de l'unit é devient trop étroite pour se connecter
618 reprise en profondeur: la méthode gagnante de la famille Haier Zhi
LeetCode 1. Sum of two numbers
有赞和腾讯云、阿里云一同摘得“中国企业云科技服务商50强”[通俗易懂]