NYCPHP Meetup

NYPHP.org

[mambo] MySQL username/password problem on Mac.

leam at reuel.net leam at reuel.net
Mon Mar 28 20:28:00 EST 2005


It seems to fail in installation/install2.php, the line "stepBack2".:

  if (!($mysql_link = @mysql_connect( $DBhostname, $DBuserName, $DBpassword ))) {
                db_err ("stepBack2","The password and username provided are incorrect.");
        }

        if($DBname == "") {
                db_err ("stepBack","The database name provided is empty.");

At least that's the error window I'm seeing pop up. Any thoughts on maybe something isn't in the Mac/Apache build?

MacOS 103.
thirsty:/usr/sbin leam$ uname -a
Darwin thirsty.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power Macintosh powerpc


Apache:
thirsty:/usr/sbin leam$ httpd -V
Server version: Apache/1.3.33 (Darwin)
Server built:   Nov 29 2004 17:59:31
Server's Module Magic Number: 19990320:16
Server compiled with....
 -D EAPI
 -D HAVE_MMAP
 -D USE_MMAP_SCOREBOARD
 -D USE_MMAP_FILES
 -D HAVE_FCNTL_SERIALIZED_ACCEPT
 -D HAVE_FLOCK_SERIALIZED_ACCEPT
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D DYNAMIC_MODULE_LIMIT=64
 -D HARD_SERVER_LIMIT=2048
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="/var/run/httpd.pid"
 -D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
 -D DEFAULT_LOCKFILE="/var/run/httpd.lock"
 -D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
 -D TYPES_CONFIG_FILE="/etc/httpd/mime.types"
 -D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
 -D ACCESS_CONFIG_FILE="/etc/httpd/access.conf"
 -D RESOURCE_CONFIG_FILE="/etc/httpd/srm.conf"

MySQL section from php -i:
mysql

MySQL Support => enabled
Active Persistent Links => 0
Active Links => 0
Client API version => 3.23.49
MYSQL_MODULE_TYPE => builtin
MYSQL_SOCKET => /tmp/mysql.sock
MYSQL_INCLUDE =>
MYSQL_LIBS =>


ciao!

leam



On Sat, Mar 19, 2005 at 08:48:46PM -0500, Mitch Pirtle wrote:
> On Sat, 19 Mar 2005 11:30:09 -0500, leam at reuel.net <leam at reuel.net> wrote:
> > This isn't a Mac/Mambo issue, I tested out the install procedure on a remote machine. SO it's something in the mix of Mambo/MySQL/Apache/PHP on the Mac. I'll poke it in a bit and make sure the default install on a Mac works with Mambo.
> 
> That would be a good start.
> 
> Please understand that I install Mambo at least 10 times a day - every
> time I refresh my local development copy from CVS (and my local linux
> server as well) and all the sites that I help with, plus dozens of
> different development sites for paying work.
> 
> I've never had a problem submitting a custom password at the
> installation stage, on windows or linux, using IE, firefox, konqueror,
> galeon, or that new one that comes with GNOME 2.10.
> 
> So if you can reproduce this one, I am desperate for details so I can
> log it as a bug and get it fixed :-)
> 
> -- Mitch
> _______________________________________________
> New to Mambo? Get a great start here:
> http://forum.mamboserver.com/showthread.php?t=26144
> 
> 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
> 



More information about the Joomla mailing list