当前位置:网站首页>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
边栏推荐
- Kotlin - 改良装饰者模式
- SVN添加文件时的错误处理:…\conf\svnserve.conf:12: Option expected
- 解决 System has not been booted with systemd as init system (PID 1). Can‘t operate.
- 2022-01-27 redis cluster technology research
- Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)
- json序列化时案例总结
- Typeerror resolved: argument 'parser' has incorrect type (expected lxml.etree.\u baseparser, got type)
- Spark实战1:单节点本地模式搭建Spark运行环境
- Setting up Oracle datagurd environment
- Flink SQL knows why (17): Zeppelin, a sharp tool for developing Flink SQL
猜你喜欢

106. How to improve the readability of SAP ui5 application routing URL

2022-02-14 incluxdb cluster write data writetoshard parsing

Elk note 24 -- replace logstash consumption log with gohangout

已解决TypeError: Argument ‘parser‘ has incorrect type (expected lxml.etree._BaseParser, got type)

AI 考高数得分 81,网友:AI 模型也免不了“内卷”!

MySQL

Flink code is written like this. It's strange that the window can be triggered (bad programming habits)

正则表达式

人身变声器的原理

Solve system has not been booted with SYSTEMd as init system (PID 1) Can‘t operate.
随机推荐
Convolution emotion analysis task4
Ubuntu 14.04 下开启PHP错误提示
刚毕业的欧洲大学生,就能拿到美国互联网大厂 Offer?
Oracle memory management
Flink SQL knows why (17): Zeppelin, a sharp tool for developing Flink SQL
STM32 and motor development (from MCU to architecture design)
父亲和篮球
JS 将伪数组转换成数组
Mysql database basic operation - regular expression
OpenHarmony应用开发之ETS开发方式中的Image组件
MySQL_ JDBC
2022-01-27 redis cluster technology research
SSH登录服务器发送提醒
2022-02-14 analysis of the startup and request processing process of the incluxdb cluster Coordinator
18W word Flink SQL God Road manual, born in the sky
Flick SQL knows why (10): everyone uses accumulate window to calculate cumulative indicators
February 14, 2022, incluxdb survey - mind map
elk笔记24--用gohangout替代logstash消费日志
Flink SQL knows why (XV): changed the source code and realized a batch lookup join (with source code attached)
Logback 日志框架