This repository has been archived by the owner on Jan 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
ALE_CONNECTION #5
Comments
i did this and i think am getting connected to the DB
but i get this
but i think sequelize gets a null object from DB ! i really want to use this with mysql.js but its so painstakingly tough |
is there a running example(demo) to learn from? using one of the other Db's |
I currently use it with PostgreSQL/Sequelize. You can check my working repo here: https://github.com/olajide1234/ale. Let me know if you can pick up a thing or two from there. If not, you can share your codebase, i'll try to replicate the error and take a look at it. Make sure you have the user and database setup. Check these files 'ale/test/testDB.js' and 'ale/models/' for instructions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Can someone please show how to set this up and in which file? I installed MySQL js then in connection.js
exports.ALE_CONNECTION=mysql.createConnection({ ....... });
But i still get
AleError: ALE_CONNECTION envar is not set, cannot connect to database
please adviseThe text was updated successfully, but these errors were encountered: