Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005
    Posts
    1

    Unanswered: remote connection through php script

    this is my problem:

    I have a mysql server running at the office on <officeip>:3306 on a win2k system

    I have a site hosted by a provider at domain.it

    I have granted privileges for existing user office as office@domain.it and office@domainip

    I wrote a php script using the parameters:

    $host='<officeip>'

    $user='office'

    $pass='<thepass>'

    $db='<mydb>'

    to connect to the office db from the website.

    I get a 'Lost connection during query' error

    What do you believe is wrong with it?

    (I already set wait_timeout as high as possible)

    Thank you in advance for your answers

  2. #2
    Join Date
    Dec 2005
    Location
    The Emerald Isle
    Posts
    1

    Thumbs up

    Hey,

    Check out this link.. it might help your situation a little.

    http://66.102.9.104/search?q=cache:u...ient=firefox-a

    Regards,
    Peter

Posting Permissions

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