Re: MySql RPM

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: MySql RPM
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4868@lists.php.net to get a copy of this message
You should always use the path with the --with-mysql if you have either the MySQL client installed on the system. If you use the path, then, yes, both a CGI version and a module version can simultaneously access the database. For the --with-mysql option, the proper path is simply /usr, so the complete option is --with-mysql=/usr for your setup. Thanks. Peter On Thu, 30 Nov 2000, Nite Fox wrote: > I have a RH 6.2 box. I've compiled the php module just fine. I also > need a CGI version but noticed the configure remarked that the CGI > might conflict with the module version when accessing MySql. > And, to give configure a specific mysql path (e.g., --with-mysql= > <path-to-mysql>). > > Question 1: If the php module is version 4.x.x and the CGI version > is 3.0.15, can each simultaneously access MySql if both were > compiled with "--with-mysql" without the path? > > Question 2: I loaded MySql via the rpm's and can not figure out > what the mysql path should be for the '--with-mysql' configuration > parameter. There's a libmysqlclient.so in /usr/lib/mysql, and > libmysqlxxxx.a in /usr/lib. I've tried many permutations, but > configure with a mysql path returns a "Invalid MySql directory". > > Any idea what path I should use with the MySql rpm's? > > Thanks very much, > Donovan Wade > > MySQL-3_22_32-1_i386.rpm > MySQL-bench-3_22_32-1_i386.rpm > MySQL-client-3_22_32-1_i386.rpm > MySQL-devel-3_22_32-1_i386.rpm > MySQL-shared-3_22_32-1_i386.rpm > _____________________________________________________________________________________ > Get more from the Web. FREE MSN Explorer download : > http://explorer.msn.com > > >

« previous php.db (#4868) next »