/    Sign up×
Community /Pin to ProfileBookmark

php: linux and windows server 2003

is it possible to connect php files hosted on Linux server while mysql database is on Windows Server 2003……

if is it then how can i do this….

thanks in advanec…

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@criterion9Aug 30.2009 — As long as the SQL server has opened the appropriate port you just use the first argument in either mysql_connect or msqli_connect. The first argument is for the URI to the server such as 'localhost' or '123.456.789.000' or a domain name such as 'myhost.org'. If both the linux server and the SQL server are on the same local network you won't have to worry about exposing the connection ports through a firewall.
×

Success!

Help @mahfooz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...