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

Problem with the Setup at the last stage #5

Open
bigbbs opened this issue May 19, 2018 · 1 comment
Open

Problem with the Setup at the last stage #5

bigbbs opened this issue May 19, 2018 · 1 comment

Comments

@bigbbs
Copy link

bigbbs commented May 19, 2018

I want to know that in setup at the development of .json file i will put my pass and email ok but what will i put in the database or can u tell me what should i write iam using heroku for all things .
Secondly that where i have to type all the setup commands in the nodejs command prompt or in the usual cmd . and whenever i put the setup commands i get the error : "No such file or directory"or the second error would be "system could not recoginze '_'this letter " i think u have wrong commands or misspelled them.
SO PLS TELL ME THE ERROR SOLUTION AND WHERE I HAVE TO TYPE THE SETUP LAST SEC COMMANDS AND WHAT SHOULD I WRITE IN DATABASE IF IAM USING HEROKU DATABSASE
AND WHEN I TYPE : ./node_modules/.bin/sequelize db:migrate i get this error : Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_M
ODE: Client does not support authentication protocol requested by server; consid
er upgrading MySQL client , even i have upgraded my mysql client , it would be better if u made a tutorial for all these
THANKS

@amanjain08
Copy link

in command line

  1. brew install mysql
  2. mysqld --skip-grant-tables &
  3. mysql
  4. ./node_modules/.bin/sequelize db:migrate
    If 4th step throughs error then open mysql using mysql command in terminal
    a. create new database CREATE DATABASE adobot
    b. use database USE adobot
    c. exit from mysql \q
  5. run ./node_modules/.bin/sequelize db:migrate

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

2 participants