MySQL
| From: | Parry60 at aol dot com | Date: | Wed, 25 Dec 2002 19:44:25 +0000 |
| Subject: | MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-129324@lists.php.net to get a copy of this message | ||
I'm having some problems with MySQL. PHP just isn't working with it.
I'm running Apache 1.3.27 with PHP 4.2.3 and MySQL 3.23.49 on OpenBSD 3.2.
Apache and PHP were compiled with source (PHP was configured with
--with-mysql and --with-apxs), and MySQL was installed from a package.
I can connect to MySQL via the command-line interface, but not via PHP.
phpBB always reports "cannot connect to database". I've checked the
permissions and everything, and it all should work.
I've also set the mysql socket in php.ini to /var/run/mysql/mysql.sock
because that's where it is.
Thanks,
Parry60