libmysqlclient.so.10

Joe Villari yellowdog-general@lists.terrasoftsolutions.com
Wed Oct 29 19:36:00 2003


John

This probably pertains to your original post but here are the notes I 
made to get mySQL and DBI to work with YDL 2.3:

######
MySQL
######

Installed the MySQL rpm from the install CD running sudo rpm --install 
/mnt/cdro
m/YellowDog/ppc/mysql*.rpm. Installed all three of the mysql rpms. Then 
I ran my
sql_install_db. This resulted in an error, in the mysqld.log, when I ran 
safe_my
sqld:

020202  09:40:09        mysqld started
020202  09:40:09        /usr/libexec/mysqld: Can't find file: 
'./mysql/host.frm'
  ( errno: 13)
020202  09:40:09        mysqld ended

After palying around with data paths and permissions I found out that 
the proper
  ownership and group was not root but mysql, mine were root after doing 
the inst
all. By doing:

chown -R mysql.mysql /var/lib/mysql

I was able to set group and ownserhip correctly, ran safe_myslqd and 
started the server.

############
DBI and DBD
############

The perl modules for DBI and DBD had to be downloaded and installed from 
cpan.org. This was a simple and painless process. After downloading the 
tar.gz files uncompress them, unpack them cd into the new directories 
and then run:

perl Makefile.PL
make
make test
make install

Hope this helps
Joe


John Kebbel wrote:
> Last night, I reinstalled YDL 3.0 as workstation instead of server. I
> lost mySQL doing this, and as I explained in an earlier post today, Yum
> isn't working so I couldn't download the set of packages I need to
> reinstall mySQL (so I could apply the advice I got from some of you
> about starting mySQL back in the good old days when I had mySQL
> installed). 
> 
> Anyway, I started dragging packages off my installer CDs and started
> manually working my way through the dependencies. I got stuck at
> libmysqlclient.so.10, which I couldn't find on the CDs and doesn't
> appear as a standalone ppc rpm anywhere I could find.
> 
> (1) Is ibmysqlclient.so.10 contained inside another package, and if so,
> (2) does anyone know a location for a ppc rpm for this package? Install
> from source code? Well, I've been using Linux off and on for a few years
> now, but I have never compiled source code because of the trauma of my C
> and C++ classes at the local community college. If there's no other
> solution, I guess it's time to dive in to source code.
> 
> 
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>