Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access mysql using javascript?

I know that most people say, "OH! It's not possible, use php" or whatever... That would be a waste of my time. I don't want to hear that it's not possible.

I'm looking for anyway possible that I can access mysql using javascript. I don't care how much of a drawn out process it is or that it would take node.js.

Just give me a way to do it. Node.js or AJAX is something I'm willing to look into, but I'd rather just use javascript and nothing else.

I do know PHP, Node.js, and AJAX, so I'm not looking for an easy way out. I just want to find out how.

* edit *

I guess this would be more of what I am looking for:

Is there any other types of sql or some sort of database that is accessable by in browser javascript?

like image 356
Tgwizman Avatar asked Jan 20 '26 11:01

Tgwizman


1 Answers

You should checkout https://mongolab.com/home They provide full access to a NoSQL database using JSON objects which are directly accessible with jQuery calls. I saw these guys at a Hackathon and ended up winning a prize! They are cool and will probably give you direct help if you click the support link.

like image 80
benathon Avatar answered Jan 23 '26 01:01

benathon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!