[mambo] MySQL username/password problem on Mac.
leam at reuel.net
leam at reuel.net
Thu Mar 31 20:01:48 EST 2005
On Thu, Mar 31, 2005 at 07:01:43PM -0500, leam at reuel.net wrote:
> 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
Well....
I got a Mac binary for PHP that has MySQL included. Still get the same error, even after having restarted apache. Still get the "The password and username provided are incorrect." in install1.php.
'./configure' '--prefix=/usr/local/php' '--with-config-file-path=/usr/local/php/lib' '--with-apxs' '--with-iconv=/usr/local/php' '--with-openssl=/usr' '--with-zlib=/usr' '--with-mysql' '--with-pgsql=/Users/marc/cvs/entropy-php4/php-module/build/postgresql-build' '--enable-cgi' '--with-gd' '--with-png-dir=/usr/local/php' '--with-freetype-dir=/usr/local/php' '--with-t1lib=/usr/local/php' '--with-jpeg-dir=/usr/local/php' '--with-tiff-dir=/usr/local/php' '--with-curl=/usr/local/php' '--with-mcal=/usr/local/php' '--with-mcrypt=/usr/local/php' '--with-mhash=/usr/local/php' '--with-pdflib=/usr/local/php' '--with-imap=../imap-2002d' '--with-imap-ssl=/usr' '--with-expat-dir=/usr/local/php' '--with-gettext=/usr/local/php' '--with-dom=/usr/local/php' '--with-dom-xslt=/usr/local/php' '--with-dom-exslt=/usr/local/php' '--with-xslt-sablot=/usr/local/php' '--with-mime-magic=/usr/local/php/etc/magic.mime' '--with-mssql=/usr/local/php' '--with-fbsql=/Users/marc/cvs/entropy-php4/php-module/build/frontbase-build/Library/FrontBase' '--with-ming=/Users/marc/cvs/entropy-php4/php-module/build/ming-build' '--enable-xslt' '--with-ldap' '--with-xml' '--with-xmlrpc' '--with-iodbc=/usr' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-trans-sid' '--enable-exif' '--enable-wddx' '--enable-ftp' '--enable-mbstring'
Thoughts?
ciao!
leam
More information about the Joomla
mailing list