I upgraded the mysql version from 5.5 to 5.7 on my Ubuntu.
But, nothing related to the mysql worked after that. I updated the php5-mysql package as well.
I found out I have to install php5-mysqlnd package using command sudo apt-get install php5-mysqlnd. But, it can't be installed. the message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
php5-mysqlnd : Depends: phpapi-20121212
Depends: php5-common (= 5.5.36+dfsg-1+donate.sury.org~trusty+1) but 5.6.18+dfsg-1+deb.sury.org~trusty+1 is to be installed
E: Unable to correct problems, you have held broken packages.
My PHP Version 5.6.18-1+deb.sury.org~trusty+1
donate.sury.org
, please add yourapt
configuration in the question. And try with the default repositories? – A.L