当前位置:网站首页>Setting up remote links to MySQL on Linux
Setting up remote links to MySQL on Linux
2022-07-03 13:19:00 【Levi Bebe】
1. Log into the database
Everyone's account password is different , If you don't know the password, please see :
MySQL password
mysql -uroot -p88888888
Enter into MySQL interface :
2. Go in data mysql And delete anonymous users , The operation is as follows
use mysql;
delete from user where user='';

3. Set up root Remote access user
User statements for remote access :
update user set host='%' where user='root' and host='localhost';
Put the account :root Granted on any host (%) All permissions to access any database .
View current account status :
select user,host,plugin from user;

4. Exit database
MySQL Case input :exit ; Press enter again
mysql> exit
5. Restart the database
sudo service mysql restart
Reference resources :
https://www.cnblogs.com/wangwust/p/9765843.html
https://www.cnblogs.com/ashe666/p/11305466.html
边栏推荐
- R language uses the data function to obtain the sample datasets available in the current R environment: obtain all the sample datasets in the datasets package, obtain the datasets of all packages, and
- Ubuntu 14.04 下开启PHP错误提示
- AI 考高数得分 81,网友:AI 模型也免不了“内卷”!
- Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g
- 剑指 Offer 11. 旋转数组的最小数字
- CVPR 2022 image restoration paper
- The principle of human voice transformer
- Reptile
- 双链笔记 RemNote 综合评测:快速输入、PDF 阅读、间隔重复/记忆
- mysqlbetween实现选取介于两个值之间的数据范围
猜你喜欢

Today's sleep quality record 77 points

Logseq evaluation: advantages, disadvantages, evaluation, learning tutorial
![[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter 6 exercises]](/img/c0/92e9e52f1f643b66720697523a1794.png)
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter 6 exercises]

Flink SQL knows why (VIII): the wonderful way to parse Flink SQL tumble window

人身变声器的原理

elk笔记24--用gohangout替代logstash消费日志

Flink SQL knows why (19): the transformation between table and datastream (with source code)

今日睡眠质量记录77分
![[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]](/img/47/78d9dd098dcb894ba1f459873d5f52.png)
[Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [sqlserver2012 comprehensive exercise]

MySQL functions and related cases and exercises
随机推荐
regular expression
Asp.Net Core1.1版本没了project.json,这样来生成跨平台包
道路建设问题
Kotlin - improved decorator mode
Luogup3694 Bangbang chorus standing in line
Some thoughts on business
MySQL
Multi table query of MySQL - multi table relationship and related exercises
Task6: using transformer for emotion analysis
Flink SQL knows why (XIV): the way to optimize the performance of dimension table join (Part 1) with source code
PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
json序列化时案例总结
PowerPoint 教程,如何在 PowerPoint 中将演示文稿另存为视频?
Reptile
Mysqlbetween implementation selects the data range between two values
PostgreSQL installation
The principle of human voice transformer
sitesCMS v3.1.0发布,上线微信小程序
Seven habits of highly effective people
对业务的一些思考