Upgrade php5.6 and Mysqld 5.6 in centos6.4

Hi all…

I am facing issue to upgrade php and mysqld version in centos6.4

cat /var/log/mysqld.log
151204 19:54:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151204 19:54:12 [ERROR] Can’t read from messagefile ‘/usr/share/mysql/english/errmsg.sys’
151204 19:54:12 [ERROR] Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root!

151204 19:54:12 [ERROR] Aborting

151204 19:54:12 [Note]
151204 19:54:12 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

/etc/init.d/mysqld start
MySQL Daemon failed to start.
Starting mysqld: [FAILED]

try to start old version
mysql: relocation error: mysql: symbol strmov, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference

Can you share configuration files…

Thanks,

@NITIN_SHRIVASTAV

The only way is to Upgrade PHP 5.6 and MySQL 5.6 is using Remi and EPEL repositories.

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

Once both the repositories has been installed, you can run the following command to upgrade PHP and MySQL.

# yum --enablerepo=remi,remi-php56 install php php-common
# yum --enablerepo=remi install mysql-server

You can also install PHP modules and libraries as shown:

# yum --enablerepo=remi,remi-php56 install php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml