mysql and libmysqlclient.so.10
HI,
I have a relatively new installatin of Fedora 2, using apache for a webserver. I need to get mysql server running for our php applications. It seems to install okay, but when I go to change the root password of the database, I get the following error message: [root@localhost root]# mysqladmin -u root password pa55word mysqladmin: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory [root@localhost root]# I've searched for answers to this on the web.. and have had very little luck! I am a linux newbie, so my apologies if this is a really silly question.. thanks for any help you can provide, |
Point your browser in the direction of www.google.com/linux and enter the search word 'libmysqlclient'. Tons of returns.
|
Hi, thanks for the tip.. but I do have (I think) the mysql client installed.... and that file does exist! (See below for proof) :) I also included the error message again..
Any other suggestions for me? [root@localhost root]# rpm -qa | grep mysql mysql-3.23.58-9 php-mysql-4.3.8-2.1 mysql-server-3.23.58-9 [root@localhost root]# locate sqlclient /usr/lib/mysql/libmysqlclient_r.so.10 /usr/lib/mysql/libmysqlclient.so.10 /usr/lib/mysql/libmysqlclient_r.so.10.0.0 /usr/lib/mysql/libmysqlclient.so.10.0.0 [root@localhost root]# mysqladmin -u root password fruitbat mysqladmin: error while loading shared libraries: libmysqlclient.so.10: cannot open shared object file: No such file or directory [root@localhost root]# |
Install for a while phpmyadmin inside your website, change the folder's name, configure it with path and user/pass (3 places) then try to acces it via any browser...
It should work fine at least for changing the password - dont forget to hit reload privileges! Then u might want to reconfigure phpmyadmin if u decide to use it... Well if the above method works - then u might have a problem on mysql in locating the file (libmysqlclient.so.10) or accesing it (check rights)... |
Download this: http://downloads.mysql.com/archives/....58-1.i386.rpm
Or this: http://downloads.mysql.com/archives/....58-1.i386.rpm Both should work. You can even get a later version of the MySQL-shared as its backward compatible. |
Alternatively, try this sequence of commands as root
echo /usr/lib/mysql >> /etc/ld.so.conf /sbin/ldconfig That should fix it ... |
Quote:
Now instead of two missing lib files I have twelve |
All times are GMT -5. The time now is 07:04 AM. |