Page 1 of 1

Updated mysql 5.1 to 5.5 phpmyadmin is not working now

Posted: Wed Jan 15, 2014 4:34 am
by heihachi88
CentOS 6, i have installed vesta with -d, then removed and installed new mysql server:

Code: Select all

yum remove mysql mysql-*

Code: Select all

yum --enablerepo=remi,remi-test install mysql mysql-server

Code: Select all

/etc/init.d/mysqld start

Code: Select all

chkconfig --levels 235 mysqld on

Code: Select all

yum install php-mysql
restarted httpd and mysqld

Now it's 5.5 but when i am trying access ip:/phpmyadmin it throws me 404 error, i guess config files is messed up. Please help me to figure out!

Re: Updated mysql 5.1 to 5.5 phpmyadmin is not working now

Posted: Tue Feb 11, 2014 1:55 pm
by skid
Most probably PMA was removed as dependency for php-mysql package. You can manually reinstall it

1. Install PMA package

Code: Select all

yum --enablerepo=remi,remi-test install phpMyAdmin
2. Download PMA configuration

Code: Select all

wget http://c.vestacp.com/0.9.8/rhel/httpd-pma.conf -O /etc/httpd/conf.d/phpMyAdmin.conf
wget http://c.vestacp.com/0.9.8/rhel/pma.conf -O /etc/phpMyAdmin/config.inc.php

3. Restart apache web server

Code: Select all

service httpd restart

Re: Updated mysql 5.1 to 5.5 phpmyadmin is not working now

Posted: Tue Feb 11, 2014 2:08 pm
by demian
from normal work old php need install compat-mysql51 library

Code: Select all

yum install compat-mysql51 --enablerepo=remi 
php mysql module compile from mysql 5.1