Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-11 05:04:51

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

... connect to MySQL server on a remote machine?

Haven’t tried this, but it’s a requirement on a Txp instance running on Windows IIS… that the MySQL server is on a remote machine behind a firewall…

Would it be as simple (from the Txp side) as having something like this in the config file?
$txpcfg['host'] = '192.168.1.11:666';

grateful for any assistance that I can pass on to the boffins
(I want my TXP)

Offline

#2 2006-01-11 05:30:36

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: ... connect to MySQL server on a remote machine?

The host setting would be 192.168.1.11 in your case. The ‘666’ part is a port number; Textpattern 4.0.x doesn’t support using a non-standard MySQL port.


Alex

Offline

#3 2006-01-11 06:01:55

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: ... connect to MySQL server on a remote machine?

ta

Offline

Board footer

Powered by FluxBB