The way of use MySQL as the remote server database

267 views
Skip to first unread message

Dumidu Madushanka

unread,
Dec 4, 2015, 7:58:19 AM12/4/15
to PouchDB
I'm new to PouchDB. And I'm interest to know a way of use MySQL as the remote server database instead of NoSQL in couchdb or couchbase. I found PouchDB in Node.js adapter which is based on LevelDown. Is there anything to do with that.

Dale Harvey

unread,
Dec 4, 2015, 8:08:25 AM12/4/15
to pou...@googlegroups.com
If you wanted to store data in mysql you could use pouchdb-server or pouchdb-express-router to provide a HTTP interface that pouchdb could communicate with, and provide a https://www.npmjs.com/package/mysqldown or similiar backed pouchdb instance to those libraries.

However you should know that having the data go into mysql doesnt mean you would be able to query the data directly via SQL, it will go into the database in a pouchdb specific and fairly unstructured format, there isnt a way for pouchdb to replicate with data in a structured mysql database.

Cheers
Dale

On 23 November 2015 at 10:54, Dumidu Madushanka <dumi...@gmail.com> wrote:
I'm new to PouchDB. And I'm interest to know a way of use MySQL as the remote server database instead of NoSQL in couchdb or couchbase. I found PouchDB in Node.js adapter which is based on LevelDown. Is there anything to do with that.

--
You received this message because you are subscribed to the Google Groups "PouchDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pouchdb+u...@googlegroups.com.
To post to this group, send email to pou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pouchdb/832de60d-4017-41f0-88a3-8eb2473517d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages