LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php4 problem when upgrade MySQL-server-4.1.12-1 (https://www.linuxquestions.org/questions/linux-software-2/php4-problem-when-upgrade-mysql-server-4-1-12-1-a-336145/)

dev_mohamed 06-22-2005 01:22 PM

php4 problem when upgrade MySQL-server-4.1.12-1
 
Dear all,
i upgrade mysql DB to MySQL-server-4.1.12-1 when i do this it make problem to apache server i have this error from apache log

PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/mysql.so' - /usr/lib/php4/mysql.so: undefined symbol: mysql_drop_db in Unknown on line 0
[Wed Jun 22 10:32:02 2005] [notice] Apache/2.0.46 (CentOS) configured -- resuming normal operations

so what can i do to make php work .
Note this error cause my perl application to give Internal Server Error when i restart the apacge server evry thing seems ok but after while it give me this error.

thank you.

comprookie2000 06-22-2005 02:58 PM

Did you use a rpm to upgrade mysql.
Did you do this;
Code:

As root:
#/usr/bin/mysql_install_db
# /etc/init.d/mysql start
* Starting mysqld [ok]
#/usr/bin/mysql -u root
mysql>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('your_new_password_here');
mysql>SET PASSWORD FOR 'root'@'hostname_or_dnsDomainName' = PASSWORD('its_new_password_here');

Or is this what you did?
http://dev.mysql.com/doc/mysql/en/linux-rpm.html


All times are GMT -5. The time now is 12:48 AM.