AnatolyUss / nmig

NMIG is a database migration tool, written in Node.js and highly inspired by FromMySqlToPostgreSql.
GNU General Public License v3.0
451 stars 83 forks source link

ER_NOT_SUPPORTED_AUTH_MODE #86

Closed victorbstan closed 2 years ago

victorbstan commented 2 years ago

Getting this error when trying to start nmig:

victor@Victors-Air nmig % npm start

> nmig@5.5.0 start
> node dist/src/Main.js

    --[FsOps::createLogsDirectory] Creating directory /Users/victor/Code/nmig/logs_directory...
    --[FsOps::createLogsDirectory] Directory /Users/victor/Code/nmig/logs_directory already exists...
    --[FsOps::createLogsDirectory] Creating directory /Users/victor/Code/nmig/logs_directory/not_created_views...
    --[FsOps::createLogsDirectory] Directory /Users/victor/Code/nmig/logs_directory/not_created_views already exists...
    --[FsOps::readDataAndIndexTypesMap] Data and Index Types Maps are loaded...
    --[BootProcessor::checkConnection] Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
victorbstan commented 2 years ago

I think it's related to this: https://stackoverflow.com/questions/50373427/node-js-cant-authenticate-to-mysql-8-0/50377944#50377944, After following the instructions in that post, I didn't get the error anymore.