mysqldump Error 1045 Access denied despite correct passwords etc

后端 未结 28 1523
执笔经年
执笔经年 2021-01-30 12:56

This is a tricky one, I have the following output:

mysqldump: Got error: 1045: Access denied for user \'root\'@\'localhost\' (using password: YES) when tr

28条回答
  •  时光取名叫无心
    2021-01-30 13:14

    Go to Start-> All Programs -> Accessories right click on Command Prompt click on Run as administrator

    In the command prompt using CD command Go to MySQL bin folder and run the below command

    mysqldump --user root --password=root --all-databases>dumps.sql

    it will create dumps.sql file in the bin folder itself.

提交回复
热议问题