If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > remote connection through php script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-05, 12:02
ciarlatano ciarlatano is offline
Registered User
 
Join Date: Dec 2005
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 12-31-05, 11:44
highonsnow highonsnow is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On