当前位置:网站首页>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
边栏推荐
- Elk note 24 -- replace logstash consumption log with gohangout
- Server coding bug
- Logback 日志框架
- Today's sleep quality record 77 points
- sitesCMS v3.0.2发布,升级JFinal等依赖
- [Database Principle and Application Tutorial (4th Edition | wechat Edition) Chen Zhibo] [Chapter IV exercises]
- 阿南的疑惑
- Cadre de logback
- Sword finger offer 15 Number of 1 in binary
- Setting up Oracle datagurd environment
猜你喜欢

8皇后问题

Multi table query of MySQL - multi table relationship and related exercises

Flink SQL knows why (XI): weight removal is not only count distinct, but also powerful duplication

显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti

stm32和电机开发(从mcu到架构设计)

Flink SQL knows why (XIV): the way to optimize the performance of dimension table join (Part 1) with source code

剑指 Offer 12. 矩阵中的路径

这本数学书AI圈都在转,资深ML研究员历时7年之作,免费电子版可看

106. 如何提高 SAP UI5 应用路由 url 的可读性

Logseq evaluation: advantages, disadvantages, evaluation, learning tutorial
随机推荐
Oracle memory management
剑指 Offer 14- II. 剪绳子 II
显卡缺货终于到头了:4000多块可得3070Ti,比原价便宜2000块拿下3090Ti
php:  The document cannot be displayed in Chinese
Flink SQL knows why (12): is it difficult to join streams? (top)
今日睡眠质量记录77分
Flink SQL knows why (16): dlink, a powerful tool for developing enterprises with Flink SQL
2022-01-27 redis cluster cluster proxy predixy analysis
Seven habits of highly effective people
Start signing up CCF C ³- [email protected] chianxin: Perspective of Russian Ukrainian cyber war - Security confrontation and sanctions g
2022-01-27 use liquibase to manage MySQL execution version
PowerPoint tutorial, how to save a presentation as a video in PowerPoint?
MapReduce实现矩阵乘法–实现代码
JSP and filter
Sword finger offer 14- I. cut rope
Sword finger offer 17 Print from 1 to the maximum n digits
【Colab】【使用外部数据的7种方法】
【数据库原理及应用教程(第4版|微课版)陈志泊】【第四章习题】
剑指 Offer 17. 打印从1到最大的n位数
Logback log framework