How do I connect to MySQL from vwd Express

Last post 10-06-2009 11:22 PM by manoj0682. 4 replies.

Sort Posts:

  • How do I connect to MySQL from vwd Express

    10-05-2009, 9:59 PM
    • Member
      point Member
    • dkperez1
    • Member since 10-06-2009, 1:48 AM
    • Posts 2

    Using vwd express and MySQL.  I want to connect using the database explorer so I can use vwd as an actual visual development tool... 

    HOW do I make this connection?  NOT in the vb or other 3GL code, but actually in the vwd tool.

    OR, if I HAVE to make the connection using the brute force method in code, how do I use the database explorer so I can take

    advantage of what vwd can do?

     

  • Re: How do I connect to MySQL from vwd Express

    10-06-2009, 1:08 AM
    Answer
    • Contributor
      4,470 point Contributor
    • stanly
    • Member since 02-09-2009, 9:35 AM
    • Chennai
    • Posts 1,014
  • Re: How do I connect to MySQL from vwd Express

    10-06-2009, 1:09 AM
    Answer
    • Contributor
      6,552 point Contributor
    • manoj0682
    • Member since 10-22-2007, 7:16 AM
    • Bangalore,India
    • Posts 1,183

    Manoj Karkera
    Zenith Software LTD 



    Please remember to click “Mark as Answer” on the post that helps you, it will help other(s) to get there answer.
  • Re: How do I connect to MySQL from vwd Express

    10-06-2009, 6:49 PM
    • Member
      point Member
    • dkperez1
    • Member since 10-06-2009, 1:48 AM
    • Posts 2

     OK, I'm new at this whole php, mysql, connection in vwd thing, so you're going to have make this as idiot-proof as possible.....

    http://aspnet101.com/aspnet101/tutorials.aspx?id=39    and

    http://www.15seconds.com/issue/050210.htm

    both appear to take me to some kind of error page for "Server Error in '/' Application."  I haven't the foggiest notion what to do with that information.

    http://www.sqlstrings.com/mysql-asp.net-connection.htm

    takes me to a page that talks about connecting, tells me to do some things I've already done, and SAYS the asp.net code below shows the connection...

    Except the area is empty.  no code.  no nothing........

    The other link takes me to a place that actually has a connection:

    I have mySql.  I have the driver.  I have the database set up.  I have data (this is all stuff I know how to do)... 

    Then  we get to what it says is the easy part...  except that...

    <%@ Import Namespace="System.Data.ODBC" %>  ----  I'm guessing this line goes in my html file above the <html> tag?

    but where do I need to put

    "Driver={MySQL ODBC 3.51 Driver};uid=YourUID;password=YourPWD;Server=YourServerIP;Option=16834;Database=YourDB;"
    or, you can use:
    "DRIVER={MySQL};SERVER=ServerIP; DATABASE=YourDB;USER=YourUID;PASSWORD=YourPWD; OPTION=3;"

    and are there html tags I need to use for this?  And do I use it exactly as:

    DRIVER={MySQL}; SERVER=localhost; DATABASE=salondb;USER=myusername;PASSWORD=mypwd; OPTION=3;

    'cause so far, everywhere I've stuck this line in the file, the test shows up on the web page...

    More info please...

     

     

     

     

     

     


     

     

     

  • Re: How do I connect to MySQL from vwd Express

    10-06-2009, 11:22 PM
    • Contributor
      6,552 point Contributor
    • manoj0682
    • Member since 10-22-2007, 7:16 AM
    • Bangalore,India
    • Posts 1,183

    I guess if u check ur first query. U ask about connection string. not mention about code or something. anyway just check it below link and if possible read first part also of link

    http://www.15seconds.com/issue/050407.htm


    Manoj Karkera
    Zenith Software LTD 



    Please remember to click “Mark as Answer” on the post that helps you, it will help other(s) to get there answer.
Page 1 of 1 (5 items)