Meteor Accounts with MySQL
NickName:Jamie Bradley Ask DateTime:2015-05-13T22:28:27

Meteor Accounts with MySQL

I'm fairly new to Meteor and currently have an application using MongoDB as the database. But there may be a possibility that I have to switch to MySQL due to server requirements.

Has anyone tried to use MySQL as their database of choice with a MeteorJS Application? I understand their are packages available to make this possible such as meteor-mysql and numtel:mysql, but I'm just looking for some feedback with tools like these. I'm also interested to find out how this work with regards to Accounts/Meteor.users etc as I understand these work with a Mongo User Collection?

Any feedback or suggestions would be much appreciated.

Thanks!

Copyright Notice:Content Author:「Jamie Bradley」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/30217851/meteor-accounts-with-mysql

Answers
Adnan Y 2015-05-13T20:27:21

It's entirely possible to use databases other than mongo with Meteor. \n\nHowever, your question sounds more like that you are asking whether Mongo can be entirely disposed with mysql. Maybe, but in my experience, don't count on having majority of packages working out of the box. That includes builtin Accounts package. That means a lot of plumbing and debugging which might defeat the purpose of using Meteor. ",


More about “Meteor Accounts with MySQL” related questions

Meteor Accounts with MySQL

I'm fairly new to Meteor and currently have an application using MongoDB as the database. But there may be a possibility that I have to switch to MySQL due to server requirements. Has anyone trie...

Show Detail

Azure DocumentDB and Meteor Accounts

My Meteor app is connected to a DocumentDB database, I try to create a Meteor Accounts using Accounts.createUser({}) , but I can't login to the user because I have been logged out automatically. ...

Show Detail

Meteor Accounts.createUser is not a function

Whenever I try to call "Accounts.createUser" (on the client) I get "EXCEPTION: TypeError: Accounts.createUser is not a function". Accoridng to the documentation it should work "By default, the Acc...

Show Detail

Meteor accounts login

This Meteor app has the insecure and autopublish removed and accounts-ui accounts-password added. I am able to register a new user but how can I modify the app so that a user can send the username ...

Show Detail

Meteor React: Accounts.changePassword is undefined

Setup: I'm using Meteor 1.4.4.2 with React and the accounts-password package (versions [email protected], [email protected]). Problem: When I import the accounts-password package (as inst...

Show Detail

Meteor accounts password: TypeError: Accounts.setPassword is not a function

I am using: Meteor Version 1.8, [email protected] When invoking: Meteor.methods({ setPassword(newPassword, userId) { check(userId, String); check(newPassword, String); ...

Show Detail

Meteor Accounts-Base needed

I'm implementing custom user authentication in a Meteor application (so no use of accounts-ui). I have only done 'meteor add accounts-password' and registration/login are working as expected. In lo...

Show Detail

Meteor: Uncaught ReferenceError: Accounts is not defined

I'm following a tutorial on learning MeteorJS, however I get this strange error when calling the 'Accounts' object method 'createUser': Meteor: Uncaught ReferenceError: Accounts is not defined I

Show Detail

Modify user signup behaviour in meteor accounts

I am following the "To-do list" tutorial for meteor and trying to make a few changes to it. I am trying to add a few fields by default to a collection called records(same as the collection tasks un...

Show Detail

Impletmenting a custom meteor accounts package

I have been writing my own meteor accounts package and I seem to be missing something. I am not getting any errors in the browser or in the terminal so it's difficult for me to troubleshoot. The ...

Show Detail