I want to access a MySQL database directly from Javascript in an HTML page in Firefox.
Does such a library exist?
To be very clear CGI+AJAX will not work
Some background: I want to create something like a GUI front end for a MySQL database (that's not what it is but it's close enough). I'm thinking about doing this as a local HTML page using JavaScript but for that to work I would need MySQL bindings for Javascript under Firefox. I already have a working prototype in under 100 LOC but it requires a web server and for reasons that are beyond this question, that won't work.
NOTE: both the DB and the JavaScript will be running locally and are not intended as a public page. In fact the HTML file will loaded as a file://// file. The only reason I'm using JavaScript is that it's the only available system for doing GUI stuff where I need it.
I'm willing to install plug ins, dll's windows dependent stuff or what not to make this work.
Edit: It looks like the answer is, "It can be done, but it's going to be painful". As one of my options is to just spew out all the data as files (ugly, and not to flexible but it would work) I think I'm not going to pursue this.