This is a discussion on Help: getting PHP/MySQL to work within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> Thanks Steven. steven mestdagh wrote: > Matt Bostock <matt@mattbostock.com> wrote: > >>Matt Bostock wrote: >> >>>I get: >>> >>># ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Thanks Steven. steven mestdagh wrote: > Matt Bostock <matt@mattbostock.com> wrote: > >>Matt Bostock wrote: >> >>>I get: >>> >>># /usr/local/bin/mysql -u xxxxxxxxxxxxx -h xxxxxxxxxxxxx.com -p >>>Enter password: >>> >>>ERROR 2005: Unknown MySQL Server Host 'xxxxxxxx.com' (2) >>> >>>Thanks, >>>Matt >> >>I just disabled packetfilter and I can log in now. PHP still can't >>access the remote MySQL server though, even with pf turned off. > > > strange, i can login to a remote mysql server with pf on, chrooted apache > and even no resolv.conf in the chrootdir. you could also try the server's > IP address in your php code and see if that works. |