> Nick,
>
> > Which options should I pass? I install all the MySQL parts (including
> > devel) to their default places... the configuring and the compiling don't
> > give me any errors, so I'm assuming it found mysql and enabled support for
> > it.
>
> --with-mysql-include-dir=DIR Directory where the MySQL includes can be
> found
> --with-mysql-lib-dir=DIR Directory where the MySQL libraries can be
> found
> --with-mysql-dir=DIR Base directory where MySQL is installed
> --with-thread-pool Use a pool of threads for high-load systems.
> (default=no) ***very important to turn on***
> --localstatedir=/var Directory for logfiles [LOCALSTATEDIR/log]
>
I tried that... what I don’t know is WHAT libraries it’s looking for. Rather than saying “it’s looking for the mysql libraries”, which I already know, can you list the file names?
> Here is what I use on a debian machine. Just change the paths to match your
> file locations.
>
>./configure --localstatedir=/var --sysconfdir=/etc --with-thread-pool
> --with-mysql-include-dir=/usr/include/mysql/ --with-mysql-lib-dir=/usr/lib/
> --with-mysql-dir=/usr/bin/
I’ve already done this. I’ve also tried including the --disable-shared option, which was mentioned in the all-mighty FAQ... didn’t work.
> > Where are the mysql shared libraries installed by default? I'm not exactly
> > a mysql expert...
> >
>
> This has nothing to do with being a mysql expert. It has to do with being a
> system admin and knowing how your system works. I don't know if you are new
> to linux or what.. but here it how to find out the answer to this question:
>
> try this:
>
> rpm -ql <package name>
>
> It will list all files and their locations that came from that rpm.
It doesn’t give me back any information at all, except on builds that were installed by the system when it was first built.
> If you don't know what it is expecting for package name, try this
> rpm -qa | grep mysql
>
> It will list all packages with mysql in their name:)
>
> Read "man rpm" for more info!
>
> Nick
‘rpm –qa | grep mysql ‘ gives me only 3 packages…
those packages were installed at build time. And before you ask, yes, I DID
install all the mysql packages, and all of them are working (I can access the
databases both at the machine and remotely). Is there any other command that I
might not have thought of to give me information on an rpm that I’ve
installed?
Shannon