Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIVA not run because not connect to MariaDB #54

Open
marcobaturan opened this issue Jun 20, 2018 · 0 comments
Open

AIVA not run because not connect to MariaDB #54

marcobaturan opened this issue Jun 20, 2018 · 0 comments

Comments

@marcobaturan
Copy link

Hello,
I proceed with the all steps from the README.md for install AIVA. So, I actualized MariaDB to 10.1, follow the advice give from install processes. After try to run the program show me this:

[Wed Jun 20 2018 16:05:10 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #3
[Wed Jun 20 2018 16:05:12 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:13 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #4
[Wed Jun 20 2018 16:05:15 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:16 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:557:12)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #5
[Wed Jun 20 2018 16:05:17 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:19 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #6
[Wed Jun 20 2018 16:05:21 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:22 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #7
[Wed Jun 20 2018 16:05:23 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:25 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #8
[Wed Jun 20 2018 16:05:26 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:28 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
error: Script restart attempt #9
[Wed Jun 20 2018 16:05:30 GMT+0000 (utc)] ERROR {
"0": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"1": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"2": {
"name": "SequelizeConnectionError",
"message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"parent": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
},
"original": {
"code": "ER_NOT_SUPPORTED_AUTH_MODE",
"errno": 1251,
"sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MariaDB client",
"sqlState": "08004",
"fatal": true
}
},
"length": 3
}
[Wed Jun 20 2018 16:05:31 GMT+0000 (utc)] ERROR Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

Unhandled rejection Error: Command failed: ./node_modules/.bin/sequelize db:migrate --env development
Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client

at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

From previous event:
at ConnectionManager.migrateDb (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/db.js:50:10)
From previous event:
at Promise.then (/home/marco/Projects/artificial_intelligence/AIVA/aiva/node_modules/sequelize/lib/promise.js:21:17)
at Object.start (/home/marco/Projects/artificial_intelligence/AIVA/aiva/src/aiva.js:52:6)
at Object. (/home/marco/Projects/artificial_intelligence/AIVA/aiva/index.js:4:8)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
error: Forever detected script exited with code: 0
Any possible solution?
Thank you for your effort and project and Kind regards,
Marco Baturan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant