How to attach my meteor app to external database?.what will be possible ways,and is it possible to use mysql as a external databse?.
Asked
Active
Viewed 86 times
2 Answers
0
You can specify an external database using the environment variables MONGO_URL and PORT at the command line when you start your Meteor application. The deployment section of the Meteor docs briefly discusses this.
You may want to check out this page at Metorpedia for additional context.
Finally, currently only Mongo is officially supported, with a beta connector for Redis -- so no MySql support. See the pages on LiveQuery and Database Drivers for further context.

JacobWuzHere
- 863
- 7
- 11
-
How the client will change the data if they want some changes in the database?.How they will edit the Mongo Database?. – chandan singh Bisht Sep 05 '15 at 05:44
-
With the `insecure` package installed (which is by default), any changes made in a Meteor Collection will get pushed to the database. Otherwise, you would need use [collection add/deny rules](http://docs.meteor.com/#/full/allow) and/or a [Meteor method](http://docs.meteor.com/#/full/meteor_methods). See [this article](https://www.discovermeteor.com/blog/meteor-and-security/) for advice on different security patterns – JacobWuzHere Sep 10 '15 at 03:12
-
Are you willing to accept my answer? Am happy to provide additional help if you are unsatisfied – JacobWuzHere Sep 14 '15 at 03:39
0
There is no mySQL support yet in Meteor. Here's the latest from Meteor on their work with Postgres.

Michel Floyd
- 18,793
- 4
- 24
- 39