Re: [PHP4BETA] Mysql seems broken.
| From: | John Cartwright | Date: | Mon, 06 Mar 2000 23:14:12 +0000 |
| Subject: | Re: [PHP4BETA] Mysql seems broken. | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11648@lists.php.net to get a copy of this message | ||
Shane Burrell wrote:
>
> I got an update and the mysql_connect function is there now, however it reports
> an error "MySQL Connection Failed:Can't connect to local MySQL server through
> socket '/var/tmp/mysql.sock' . I guess this is part of the included mysql lib.
> The mysql.sock on my system is in /tmp . Is --with-mysql still valid and will
> it make php use my mysqllib?
Shane,
I'm afraid that I don't have an answer for you, but am curious if you
had any trouble compiling. I get the following messages when it's time
to compile the mysql module:
Making all in mysql
make[2]: Entering directory `/usr/local/src/php4-200003061245/ext/mysql'
Making all in libmysql
make[3]: Entering directory
`/usr/local/src/php4-200003061245/ext/mysql/libmysql'
/usr/local/src/php4-200003061245/build/rules.mk:120:
/usr/local/src/php4-200003061245/ext/mysql/libmysql/.deps: No such file
or directory
make[3]: *** No rule to make target
`/usr/local/src/php4-200003061245/ext/mysql/libmysql/.deps'. Stop.
make[3]: Leaving directory
`/usr/local/src/php4-200003061245/ext/mysql/libmysql'make[2]: ***
[all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php4-200003061245/ext/mysql'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/local/src/php4-200003061245/ext'
make: *** [all-recursive] Error
1
This is today's php4 snapshot on a RH6.1 system. Mysql is installed in
/usr/local/mysql. Did you specify the path to mysql during configure?
Any hints or suggestions would be much appreciated.
Thanks!
-- john
===============================================================================
John Cartwright
Professional Research Assistant / Associate Scientist
CIRES, SEG/NGDC/NOAA
(303) 497-6284
jcartwright@ngdc.noaa.gov
===============================================================================