Ask a Question related to ASP, Design and Development.

  1. #1

    Default My SQL in ASP

    How do i connect to a MySQL sever in ASP, Not MS SQL Server.

    Thanks

    Jason


    Jason Rivers Guest

  2. #2

    Default Re: My SQL in ASP

    install the ODBC drivers available on the MySQL web side and then create a
    DSN.


    -dlbjr

    Discerning resolutions for the alms


    dlbjr Guest

  3. #3

    Default Re: My SQL in ASP

    dlbjr wrote:
    > install the ODBC drivers available on the MySQL web side and then
    > create a DSN.
    is ODBC the only supported method?

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

  4. #4

    Default Re: My SQL in ASP

    It's the only one I'm knowledgeable of.
    I have used it mainly to hit MySQL on a Linux box.
    I have installed MySQL on the local Microsoft box and connected through ODBC
    locally

    -dlbjr

    Discerning resolutions for the alms


    dlbjr Guest

  5. #5

    Default Re: My SQL in ASP

    I've never used MySQL or anything, so I don't know, but
    connectionstrings.com does have an oledb string for MySQL. So, that would
    lead me to believe there's an OLEDB driver available. Nice.

    Ray at home

    "dlbjr" <dontknow@do.u> wrote in message
    news:s90nb.155$Qy4.12411@typhoon01...
    > It's the only one I'm knowledgeable of.
    > I have used it mainly to hit MySQL on a Linux box.
    > I have installed MySQL on the local Microsoft box and connected through
    ODBC
    > locally
    >
    > -dlbjr
    >
    > Discerning resolutions for the alms
    >
    >

    Ray at Guest

  6. #6

    Default Re: My SQL in ASP

    Try this:
    strConn =
    "driver={MySQL};server=xxx.xxx.xxx.xxx;uid=databas eusername;pwd=databasepass
    word;database=databasename;option=NUM"

    Set dbc = Server.CreateObject("ADODB.Connection")
    dbc.open strConn

    Tony Mak...

    "Jason Rivers" <jason.rivers@sevenstreams.tk> wrote in message
    news:O1Yavr$mDHA.2312@TK2MSFTNGP12.phx.gbl...
    > How do i connect to a MySQL sever in ASP, Not MS SQL Server.
    >
    > Thanks
    >
    > Jason
    >
    >

    Tony Mak... Guest

  7. #7

    Default Re: My SQL in ASP

    [url]http://www.connectionstrings.com[/url]

    "Jason Rivers" <jason.rivers@sevenstreams.tk> wrote in message
    news:O1Yavr$mDHA.2312@TK2MSFTNGP12.phx.gbl...
    > How do i connect to a MySQL sever in ASP, Not MS SQL Server.
    >
    > Thanks
    >
    > Jason
    >
    >

    Michel Thiffault Guest

  8. #8

    Default Re: My SQL in ASP

    Ray at <%=sLocation%> wrote:
    > I've never used MySQL or anything, so I don't know, but
    > connectionstrings.com does have an oledb string for MySQL. So, that
    > would lead me to believe there's an OLEDB driver available. Nice.
    >
    That's better. Now we may be cooking ;o)

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139