jd1386 / korean-json Goto Github PK
View Code? Open in Web Editor NEWJSON API serving fake data in Korean
Home Page: https://koreanjson.com
JSON API serving fake data in Korean
Home Page: https://koreanjson.com
Follow your basic setup instruction, I occurred two error in create db.
$ node_modules/.bin/sequelize db:create
ERROR: Client does not support authentication protocol requested by server; consider upgrading MySQL client
It occurs when I follow your setup instruction and find why it occurs because MySQL uses new authentication plugin caching_sha2_password but, Node.js driver MySQL don't support this plugin not yet.
(https://stackoverflow.com/questions/50373427/node-js-cant-authenticate-to-mysql-8-0/50377944#50377944)
So, I alter root user to older authentication plugin for works Sequelize.
$ mysql -uroot
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '<mypassword>';
$ node_modules/.bin/sequelize db:create
ERROR: Access denied for user 'root'@'localhost' (using password: NO)
This error resolve with change development environment password in config.json
config/config.js
{
"development": {
"username": "root",
"password": "<mypassword>",
"database": "koreanjson_development",
"host": "127.0.0.1",
"dialect": "mysql"
},
...
}
And everything is fine.
I'm not sure this error occurs only to me and those are best solutions, but please consider this issues.
Thank you.
Environment :
OS: Mac High Sierra 10.13.6
Node: 10.14.2
Sequelize CLI: 5.4.0
ORM: 4.42.0
mysql: 8.0.15 for osx10.13 on x86_64 (Homebrew)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.