当前位置:网站首页>Solution to the problem that the root account of MySQL database cannot be logged in remotely
Solution to the problem that the root account of MySQL database cannot be logged in remotely
2022-07-06 03:59:00 【Terence full stack development】
Recently, after a new Tencent cloud server , Installed through the pagoda panel mysql database , Then use root User pass navicat Remote connection login failed .
The solution is as follows Two lines of code ok
MySQL5.7 and MySql8 Turn on root User remote access
mysql> create user 'root'@'%' identified by '1234';
Query OK, 0 rows affected (0.02 sec)
mysql> grant all on *.* to 'root'@'%';
Query OK, 0 rows affected (0.02 sec)
边栏推荐
- Flask learning and project practice 9: WTF form verification
- Prime protocol announces cross chain interconnection applications on moonbeam
- Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
- Blue style mall website footer code
- MySQL about self growth
- Image super resolution using deep revolutionary networks (srcnn) interpretation and Implementation
- Redis (replicate dictionary server) cache
- An article will give you a comprehensive understanding of the internal and external components of "computer"
- UDP reliable transport protocol (quic)
- BUAA calculator (expression calculation - expression tree implementation)
猜你喜欢
[introduction to Django] 11 web page associated MySQL single field table (add, modify, delete)
Database, relational database and NoSQL non relational database
Proof of Stirling formula
[practice] mathematics in lottery
Detailed explanation of serialization and deserialization
User datagram protocol UDP
Interface idempotency
TCP/IP协议里面的网关地址和ip地址有什么区别?
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
[adjustable delay network] development of FPGA based adjustable delay network system Verilog
随机推荐
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Python book learning notes - Chapter 09 section 01 create and use classes
BUAA magpie nesting
[matlab] - draw a five-star red flag
Schnuka: what is visual positioning system and how to position it
简述C语言中的符号和链接库
Network security - Security Service Engineer - detailed summary of skill manual (it is recommended to learn and collect)
阿里测试师用UI自动化测试实现元素定位
Scalpel like analysis of JVM -- this article takes you to peek into the secrets of JVM
Differential GPS RTK thousand search
Error 1045 (28000): access denied for user 'root' @ 'localhost' (using password: no/yes
Exchange bottles (graph theory + thinking)
No qualifying bean of type ‘......‘ available
C (XXIX) C listbox CheckedListBox Imagelist
51nod 1130 n factorial length V2 (Stirling approximation)
Basic knowledge of binary tree, BFC, DFS
Pytoch foundation - (1) initialization of tensors
Python book learning notes - Chapter 09 section 01 create and use classes
Alibaba testers use UI automated testing to achieve element positioning
Prime Protocol宣布在Moonbeam上的跨链互连应用程序