Need help MySQL Authentication

Previously i was using wonderful package accounts for handling my authentications,in one project i am will use mysql as database so i was wondering is there any tutorial out there which shows that how to achieve login register(authentication) with mysql ?

or are there anyone who is using passport.js with meteor and mysql ?