Results 1 to 2 of 2

Thread: need help (vb6 + mysql)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2013
    Posts
    328

    need help (vb6 + mysql)

    database connection

    Set cn = New ADODB.CONNECTION

    Set cn = New ADODB.CONNECTION

    cn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
    & "SERVER=192.168.1.229;" _
    & "DATABASE=ssmpc_database;" _
    & "UID=root;PWD=ssmpc; OPTION=3"
    cn.Open

    on the computer that i am working on, the connection is working.
    but when i try to put the vb program on another computer
    message appears ("cant connect to mysql server on 192.168.1.229")

    how to access mysql connection remotely?

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: need help (vb6 + mysql)

    Checkout my project here.

    Edit:

    You will also need to configure the server to allow access to the database from your computer, instructions for this can be found in post #8.
    Last edited by Nightwalker83; Aug 7th, 2013 at 06:17 AM. Reason: Adding more!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width