Unix Technical Forum

Help: getting PHP/MySQL to work

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: >>> >>># ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-16-2008, 06:48 AM
Matt Bostock
 
Posts: n/a
Default Re: Help: getting PHP/MySQL to work

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:30 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com