AdoBot-IO icon indicating copy to clipboard operation
AdoBot-IO copied to clipboard

Problem with the Setup at the last stage

Open bigbbs opened this issue 6 years ago • 1 comments

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

bigbbs avatar May 19 '18 13:05 bigbbs

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

amanjain08 avatar May 28 '18 20:05 amanjain08