Jump to content


Photo

PHP/MySQL Remote script


  • Please log in to reply
4 replies to this topic

#1 Cyber

Cyber
  • Members
  • Pip
  • Newbie
  • 8 posts

Posted 24 October 2006 - 11:00 PM

Hi.

I know i have seen it some place before, but i just can not remember where i`ve seen it, or what it is called, since it was so long time ago. So i need to ask if anyone here can help me out.

Here`s my issue..

I have an Windows server with mysql/php, that runs some php scripts on it today, and i would like to move that mysql database, from MS to unix server.
The moving part isn`t hard, but since the unix server dosen`t allow remote access to mysql database, i need a script that lies on that server to connect to the mysql for the scripts that runs on the MS server.

Anyone got any clue what i am talking about here ?!  ???

Need a script that the "program" can connect to, and then run the needed command to the remote database.

Thank you so much in advance.

Cheers :)

#2 Cyber

Cyber
  • Members
  • Pip
  • Newbie
  • 8 posts

Posted 25 October 2006 - 11:03 PM

anyone !?

Thanks in advance.

#3 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 26 October 2006 - 05:36 PM

Why not just have a PHP script on the unix box that takes the dump file?
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#4 Cyber

Cyber
  • Members
  • Pip
  • Newbie
  • 8 posts

Posted 27 October 2006 - 11:40 PM

The dump file ?!
What do you mean ?

Not sure if you understood what i ment, but to connect to a unix box from another windows box. Since the port, mysql port i closed on that server.

Thanks :)

#5 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 28 October 2006 - 04:07 PM

Yeah, but HTTP isn't... have the PHP script do all the work.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users