AnatolyUss/nmig

ER_NOT_SUPPORTED_AUTH_MODE

victorbstan opened this issue · 1 comments

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

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.