The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some problems after upgrading MySQL

Discussion in 'General Discussion' started by Nightweaver, Oct 23, 2005.

  1. Nightweaver

    Nightweaver Member

    Joined:
    Aug 26, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgrade
    I've upgraded MySQL from 4.0 to 4.1. Everything went fine and I've reinstalled Apache and PHP after that. Now, some of my users get this message in their log although their apps work fine:

     
  2. virtuose

    virtuose Member

    Joined:
    Sep 26, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    error while loading shared libraries: libmysqlclient.so.12

    I have the same error, what your php version ??

    I dont have possibility to compile mysql 4.1 with php 5.0.4, it give to me error and httpd not start!

    Actualy I use mysql 4.1 with php 4.4 but I receive the error:
    /usr/local/bin/php: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory

    If anyone have an idea, it be great! :confused:

    Thank for your help.

    Ben.
     
  3. Nightweaver

    Nightweaver Member

    Joined:
    Aug 26, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgrade
    I use PHP 4.4.0.
     
  4. virtuose

    virtuose Member

    Joined:
    Sep 26, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Yess, I have this error too with php 4.4.0

    Please help us!! :p

    Thank
     
  5. virtuose

    virtuose Member

    Joined:
    Sep 26, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    Try this one in ssh:

    ln -s /usr/lib/libmysqlclient.so.14 /usr/lib/libmysqlclient.so.12

    It work great for me :)
     
  6. Nightweaver

    Nightweaver Member

    Joined:
    Aug 26, 2005
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Belgrade
    Heh..I thought of doing that but then again..10x for the tip.;)
     
  7. kieranmullen

    kieranmullen Well-Known Member

    Joined:
    Aug 25, 2005
    Messages:
    165
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Portland, OR USA
    Creating a link to the file... Does that really file the problem?

    I am runing PHP441 I have not upgraded anything...

    I just get this error

    php -V
    php: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory


     
Loading...

Share This Page