How to access phpMyAdmin after installation?
Solution 1:
Did you try http://localhost/phpmyadmin
?
Edit: Do this first
sudo -H gedit /etc/apache2/apache2.conf
add this line somewhere
Include /etc/phpmyadmin/apache.conf
and finally restart apache.
sudo service apache2 restart
Solution 2:
You probably skiped the configure from the package.
Try this cli:
sudo dpkg-reconfigure phpmyadmin
And when it choose the webserver to configure, select apache.
Solution 3:
It depends on your configuration.
From my experience, I may reach with localhost/phpmyadmin but fail to login, I have to reconfigure phpmyadmin, reset MySQL password, and then I may login without problems.
- Reconfigure phpmyadmin
- Ctrl+Alt+t to launch terminal
sudo dpkg-reconfigure phpmyadmin
- Connection method for MySQL database for phpmyadmin:
unix socket
- Name of the database's administrative user:
root
- Password of the database's administrative user:
mysqlsamplepassword
- MySQL username for phpmyadmin:
root
- MySQL database name for phpmyadmin:
phpmyadmin
- Web server to reconfigure automatically:
apache2
- ERROR 1045
- ignore
sudo dpkg-reconfigure mysql-server-5.5
- New password for the MySQL "root" user:
mysqlsamplepassword
- Repeat password for the MySQL "root" user:
mysqlsamplepassword
But if your problem is fail to interpret php, follow the instruction to enable your php first.
sudo gedit /etc/apache2/mods-available/php5.conf
- look for php_admin_value engine off, between and
- Add
#
in front ofphp_admin_value engine off
to disable it. - REMEMBER! Don't change the value php_admin_value engine from off to on!
sudo /etc/init.d/apache2 restart
Wish it helps!
Have a nice day!