mysqldump Error 1045 Access denied despite correct passwords etc

后端 未结 28 1219
执笔经年
执笔经年 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:15

    In Past same problem occurred to me after I copied the mysqldump statement from a MS Word file.

    But When typing the statement directly, everything worked fine.

    In hex editor the "-" of the not working statement was represented by the unicode char e2 80 93 (http://www.fileformat.info/info/unicode/char/2013/index.htm)

    In sort, type password directly and check the copy paste code as the uni-code (or other encoding) strings might cause an issue..

提交回复
热议问题