NYCPHP Meetup

NYPHP.org

[mambo] MySQL username/password problem on Mac.

Norman O'Neil norman.on at gmail.com
Thu Mar 31 20:20:12 EST 2005


what are you putting in for host

On Mar 31, 2005, at 8:01 PM, leam at reuel.net wrote:

> 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
>
> _______________________________________________
> New to Mambo? Get a great start here:
> http://forum.mamboserver.com/showthread.php?t&144
>
> New York PHP SIG: Mambo Mailing List
> AMP Technology
> Supporting Apache, MySQL, PHP &amp; Mambo!
> http://lists.nyphp.org/mailman/listinfo/mambo
> http://www.nyphp.org
>
>
Norman O'Neil
enorm
39 Partridge Street
Portsmouth, NH 03801
603 431 0868
http://www.enorm2.com
________________________________________________________
The information contained in this message is intended only for the  
recipient, and may be a confidential attorney-client communication or  
may otherwise be privileged and confidential and protected from  
disclosure. If the reader of this message is not the intended  
recipient, or an employee or agent responsible for delivering this  
message to the intended recipient, please be aware that any  
dissemination or copying of this communication is strictly prohibited.  
If you have received this communication in error, please immediately  
notify us by replying to the message and deleting it from your  
computer.
Thank you,
enorm




More information about the Joomla mailing list