#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    Belgium
    Posts
    2
    Rep Power
    0

    Connect VB6 with an mysqldatabase on a webserver


    I want to make a program that recieves data from a database on a webserver. This is a mysqldatabase that came with the package of renting this webspace. The question now is how to make a connection from this vb6 application to the database on the internet.

    If someone could help me out this would be great !!
  2. #2
  3. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    This may not be possible. If the web server does not allow outside access to thier mysql database then you will not be able to access it anywhere except internally. (i.e. local scripts on the webserver)

    If they do allow you to connect to thier mysql server remotely they you will need to download myODBC from the mysql website and use that as the odbc driver to connect with. You can search this forum on how to create a connection to a mysql database through vb since this has already been covered more than once here.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    Belgium
    Posts
    2
    Rep Power
    0
    ok, tnx
    i will check that with the webhost

IMN logo majestic logo threadwatch logo seochat tools logo