By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,510 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,510 IT Pros & Developers. It's quick & easy.

Can i write php code to connect 2 MySQL DB. like this case. ?

P: n/a
Hi, All
Can i write php code to connect 2 MySQL DB. like this case. ?

My Environment :

Server < ---- > PC Client

Server =
::: Apache for Linux
::: MySQL Server ( A )

PC Client =
::: Apache for window
::: MySQL Server ( B )
I want
1.1 write php code action like this

php code on Apache for window ( on PC ) connect to MySQL Server ( A )
and get data to
MySQL Server ( B ) instantly.

Can i do like this. ?
and How to ..
Anyone have experience ?


Thank you very much
Pratchaya
PS. Caz i don't want to connect via 3306 port between server and PC ,
i believe that it 's not secure.

Feb 9 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Pratchaya wrote:
Can i write php code to connect 2 MySQL DB. like this case. ?
connect how? Replicate data or join data or something else?
PS. Caz i don't want to connect via 3306 port between server and PC ,
i believe that it 's not secure.


Faith has nothing to do with it:
http://dev.mysql.com/doc/refman/5.0/...nnections.html

/Marcin
Feb 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.