Bad gateway might occur due to an incorrect setting in your Proxy.
It is recommended by me to use Nginx as it is easy to setup and apparently automatically recovers after a bad gateway.
What Operating System Are you using?
I did some looking around on the npm packages site (always a scary thought), found a couple MySQL packages that provide orm style interaction. Below are the packages I am thinking we could use to integrate mysql.
- Bookshelf would provide the orm: ModelsDoes anyone know of better packages? Using Knex, and Bookshelf looks like we could do object oriented sql interaction.
In terms of Scaling, with MySQL, we could allow MySQL clusters to be used :).
Edit: I have commented the necessary files that should get us started on adding MySQL. I have also submitted a pull request. Knex, and Bookshelf are being used as they provide ORM interfaces to interact with SQL based databases.
I noticed you have a MySQL integration PR open with the main repo right now -- is it actually usable?
@julian said:
I noticed you have a MySQL integration PR open with the main repo right now -- is it actually usable?
It will be :), doesn't break anything as of right now . First step to geting it integraded is adding the module for it.
Edit: In the long run, it will allow people more comfertable with mysql to use NodeBB .
technically, it does break if someone tries to use it