Jump to content


This topic is now archived and is closed to further replies.


PEAR DB and local server

Recommended Posts

I'm trying to set up my mac, 10.4, to work as a server. I have apache php and mysql installed (mostly from what was pre-installed or through entropy's installers), anyway they all seem to be working smoothly, that is I have installed phpMyAdmin as well as other php/mysql applications on the server. However when I try to make my own application and use the DB package to connect to mysql something goes wrong. No error is printed but it is clear that everything stops at the DB::connect($dsn) step. My $dsn string works on a remote server, and looks like this:
Can anyone suggest what I might do to fix this buy? I have heard tale of something with mac servers and localhost, but I'm not sure whether to replace localhost with or what exactly.

Share this post

Link to post
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.