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.
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
Post a Comment