Help - Search - Members - Calendar
Full Version: ./configure --with-mysql= ??????????
The Planet Forums > Control Panels > Plesk
nat
For psa RPM build. Anyone know the answer to this?

./configure --with-mysql=



Everyone seems to put the two examples below, but I don't have any of those directories. icon_sad.gif

./configure --with-mysql=/usr/local/mysql
./configure --with-mysql=/usr/local/psa/mysql



BTW this is for snort.
ffeingol
Try the following from a shell prompt:

locate mysql

That will find all the files/directories with mysql in them.

Snort is cool icon_biggrin.gif Check out www.demarc.com.

Frank
nat
hi, locate gave a bunch of directories.

I went ahead and decided to guess at one.

I Tried:
./configure --with-mysql=/usr/bin/mysql
...and it returned an error.

Then I Tried:
./configure --with-mysql=/usr/lib/mysql
...and it returned an error.

Then I Tried:
./configure --with-mysql=/var/lib/mysql
...and it worked.

I created a database named zzzzzz under a test domain in plesk. I ran:
locate -u
...to update database. Then I searched for zzzzzz and it came up in the directory /var/lib/mysql. So i guess it was wanting to know the location of where databases are stored. I was thinking it wanted the direcotry to where mysqld was located. mysqld shows up in about 20 different directories.
ffeingol
QUOTE
Originally posted by nat
So i guess it was wanting to know the location of where databases are stored.


Well normally the configure utilities want to know where the header (.h) and library (.so or .a) files are.

But who cares, It's working icon_biggrin.gif.

Frank
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.