Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #16234
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2012-09-28 15:29 -0700 |
| References | <87t1585mmsdg8bqdd8vblsch7esmc36iu2@4ax.com> <k42vqp$dq7$1@speranza.aioe.org> <3171358.h0iHcfXm04@PointedEars.de> |
| Message-ID | <421d403d-32a5-47b9-b983-edea58e01357@googlegroups.com> (permalink) |
| Subject | Re: Handling ODBC Connection Errors |
| From | "J.R." <groups_jr-1@yahoo.com.br> |
On Friday, 28 September 2012 05:41:25 UTC-3, Thomas 'PointedEars' Lahn wrote:
> J.R. wrote:
>
>
>
> > Here is a snippet of the code (JScript / classic ASP) that I wrote to
>
> > deal with a mySQL 5.1 database on my IIS 7 / ASP server:
>
> >
>
> > var objConnection = {
>
> > cn : Server.CreateObject("ADODB.Connection"),
>
> >
>
> > open : function () {
>
> > var cnStr = "Driver={MySQL ODBC 5.1 Driver}; Server=localhost;
>
> > Database=xxx; UID=xxx; PWD=xxx";
>
>
>
> This part belongs on the *server*.
>
>
>
> > […]
Yes, the above code is server-side ASP / JScript running on a IIS 7 / Windows 2008, accessing a mySQL 5.1 database.
Gene Wirchenko started this topic stating: "Please note that this is checkout work for what will eventually be server-side code. The argument that one should not use direct access to the DBMS in browser code does not apply here."
Cheers,
Joao Rodrigues (J.R.)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Handling ODBC Connection Errors Gene Wirchenko <genew@ocis.net> - 2012-09-12 14:03 -0700
Re: Handling ODBC Connection Errors Gene Wirchenko <genew@ocis.net> - 2012-09-12 19:33 -0700
Re: Handling ODBC Connection Errors David Mark <dmark.cinsoft@gmail.com> - 2012-09-18 23:19 -0700
Re: Handling ODBC Connection Errors David Mark <dmark.cinsoft@gmail.com> - 2012-09-18 23:26 -0700
Re: Handling ODBC Connection Errors "J.R." <groups_jr-1@yahoo.com.br> - 2012-09-27 22:51 -0300
Re: Handling ODBC Connection Errors Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-28 10:41 +0200
Re: Handling ODBC Connection Errors "J.R." <groups_jr-1@yahoo.com.br> - 2012-09-28 15:29 -0700
csiph-web