当前位置:网站首页>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;边栏推荐
- 只是巧合?苹果iOS16的神秘技术竟然与中国企业5年前产品一致!
- Understand the key technology of AGV -- the difference between laser slam and visual slam
- How openharmony starts FA of remote devices
- [error record] the connection of the flutter device shows loading (disconnect | delete the shuttle/bin/cache/lockfile file)
- Rock PI Development Notes (II): start with rock PI 4B plus (based on Ruixing micro rk3399) board and make system operation
- 大廠面試總結大全
- TCP拥塞控制详解 | 2. 背景
- Hard core! One configuration center for 8 classes!
- Global and Chinese market of discharge machines 2022-2028: Research Report on technology, participants, trends, market size and share
- Leetcode1380: lucky numbers in matrix
猜你喜欢

La boîte de connexion du hub de l'unit é devient trop étroite pour se connecter

Mathematical analysis_ Notes_ Chapter 5: univariate differential calculus

DGraph: 大规模动态图数据集

Cell:清华程功组揭示皮肤菌群的一种气味挥发物促进黄病毒感染宿主吸引蚊虫...
![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])

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

According to the atlas of data security products and services issued by the China Academy of information technology, meichuang technology has achieved full coverage of four major sectors

关于举办科技期刊青年编辑沙龙——新时代青年编辑应具备的能力及提升策略的通知...

只是巧合?苹果iOS16的神秘技术竟然与中国企业5年前产品一致!

DigiCert SSL证书支持中文域名申请吗?
随机推荐
C语言自定义函数的方法
linux下配置Mysql授权某个用户远程访问,不受ip限制
国内比较好的OJ平台[通俗易懂]
LeetCode 2. 两数相加
The login box of unity hub becomes too narrow to log in
渗透工具-内网权限维持-Cobalt strike
Foreign enterprise executives, continuous entrepreneurs, yoga and skiing masters, and a program life of continuous iteration and reconstruction
PCL least median square method fitting plane
中国信通院《数据安全产品与服务图谱》,美创科技实现四大板块全覆盖
Unity使用UGUI设置一个简单多级水平方向下拉菜单(不需要代码)
Privacy computing technology innovation and industry practice seminar: Learning
Analysis of how to prevent virus in industrial computer
Global and Chinese market of jacquard looms 2022-2028: Research Report on technology, participants, trends, market size and share
Summary | three coordinate systems in machine vision and their relationships
Global and Chinese markets for carbon dioxide laser cutting heads 2022-2028: Research Report on technology, participants, trends, market size and share
jsp 和 servlet 有什么区别?
Trigger: MySQL implements adding or deleting a piece of data in one table and adding another table at the same time
Just a coincidence? The mysterious technology of apple ios16 is even consistent with the products of Chinese enterprises five years ago!
LeetCode 3. Longest substring without duplicate characters
Global and Chinese markets for disposable insulin pumps 2022-2028: Research Report on technology, participants, trends, market size and share