Sample Header Ad - 728x90

phpmyadmin doesn't work after installing php5-mysqlnd

2 votes
1 answer
1802 views
I am currently running into some problems with phpMyAdmin. I set everything up correctly and made sure everything worked. Then later after some developing on some pages I noticed I couldn't execute mysqli_result::fetch_all(). So I did my research and found out I only had to install the package php5-mysqlnd. So I did (apt-get install php5-mysqlnd). The installation did not fail and my PHP script could execute the mysqli_result::fetch_all() method. However, phpmyadmin doesn't work anymore. It simply can't connect to the MySQL server anymore (all logins fail). ***NOTE:** every other script still has no problem connecting and logging in into the MySQL server. I also did not change any passwords. Login over the console is also possible.* I couldn't get it to work with the package installed. Then I reinstalled php5-mysql (which uninstalled php5-mysqlnd) and phpmyadmin worked again! Not having the mysqli_result::fetch_all() method is not a major issue but if it is possible I would like to use it anyways. Simply because it is so convenient for debugging! I am running a Nginx server and Debian 7.5 3.10.23 system.
Asked by BrainStone (3784 rep)
Jun 6, 2014, 07:01 PM
Last activity: May 12, 2024, 09:07 AM