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 127.0.0.1 or what exactly.
PEAR DB and local server
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users