Phpmyadmin root login: Can't login to phpmyadmin with 'root' user. Here is the solution!

Upon installation of phpmyadmin, you can login with user 'phpmyadmin' (default user), however if you want to login as root user then you have to re-configure the phpmyadmin. Do as follows to re-configure.

Run the commant to reconfigure:
       $sudo dpkg-reconfigure phpmyadmin

Now you will be asked series of question, do as follows:
Hit : <Ok>
Reinstall database for phpmyadmin: <Yes>
Connection method for MySQL database server for phpmyadmin: TCP/IP
Host name of the MySQL database server for phpmyadmin: localhost
Port number for the MySQL service: 3306
MySQL database name for phpmyadmin: phpmyadmin
Hit : <Ok>
MySQL username for phpmyadmin: root
MySQL application password for phpmyadmin: your_password_here
Password confirmation: your_password_here
Name of the database's administrative user: root
Web server to reconfigure automatically: apache2
An error occurred while installing the database: ignore

And you are done! Now you can login with the root user.

Comments

Popular posts from this blog

(Solved) (Fixed )MariaDB Unmet Dependencies on Ubuntu 20.04.

Solution to Moodle Error: Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.