DEV Community

Discussion on: Build API with GraphQL, Node.js, and Sequelize

Collapse
 
ishwarjha profile image
Ishwar Jha

Hey, I am getting the error
Loaded configuration file "database/config/config.js".
Using environment "development".

ERROR: Error parsing url: undefined
When I am trying to use your tutorial with MySQL. Can you guide?

Collapse
 
ilhamalamsyh profile image
Ilham Alamsyah • Edited

set the use_env_variable: process.env.DEV_DATABASE_URL on file "database/config/config.js"

it has worked on me

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

define the database url or IP and it will be fine