NYCPHP Meetup

NYPHP.org

[mambo] MySQL username/password problem on Mac.

leam at reuel.net leam at reuel.net
Thu Mar 31 19:01:43 EST 2005


On Thu, Mar 31, 2005 at 10:09:30AM -0500, Mitch Pirtle wrote:
> On Mar 29, 2005 10:34 PM, leam at reuel.net <leam at reuel.net> wrote:
> > More info, though no solution. The packet going back has the right username and password, at least as reported by tcpdump. I'm thinking there is just a missing library or something. Where is mysql_connect kept?
> 
> Can you paste the exact error message here then? I am starting to
> suspect you are not loading the mysql extension for php...
> 
> -- Mitch

Actually, here's the first paragraph from phpinfo():

'/SourceCache/apache_mod_php/apache_mod_php-17.5/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc'

Since I don't see mysql, I'm thinking you're right. This is the default PHP that came on the Mac. Off to get the source. Any other suggested configure options?

ciao!

leam





More information about the Joomla mailing list