当前位置:网站首页>Node connection MySQL access denied for user 'root' @ 'localhost' (using password: yes

Node connection MySQL access denied for user 'root' @ 'localhost' (using password: yes

2022-07-04 06:56:00 @Brother Xiaoao

This happens , Yes, the first one may be the wrong password , If it's not the wrong password, it's the database port number 3306 It's occupied

Then the error occurs, as shown in the following figure :
 Insert picture description here

resolvent :

open cmd Enter the following command
 Insert picture description here

netstat -ano|findstr "3306"        //  First of all to see 3306 Occupied by something 

tasklist|findstr "4608"           //  View the specific tasks occupied 

Here mine is by mysqld.exe To take up

then Press and hold at the same time ctrl and alt and . Open Task Manager , Then the end mysqld.exe This task , Finally, start node service , The database connection was found successfully !

原网站

版权声明
本文为[@Brother Xiaoao]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141554195294.html