install_apache_mysql_php_linux_ubuntu_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_apache_mysql_php_linux_ubuntu_server [2020/06/08 22:49] – [Installing phpMyAdmin] wikiadmin | install_apache_mysql_php_linux_ubuntu_server [2020/06/08 23:02] – [Workaround Errors in setting up phpmyadmin@localhost with all privileges involving dbconfig-common] wikiadmin | ||
---|---|---|---|
Line 255: | Line 255: | ||
===== Workaround Errors in setting up phpmyadmin@localhost with all privileges involving dbconfig-common ===== | ===== Workaround Errors in setting up phpmyadmin@localhost with all privileges involving dbconfig-common ===== | ||
+ | |||
+ | Are you getting errors when trying to login to PhpMyAdmin as root? | ||
+ | |||
+ | < | ||
+ | Cannot log in to the MySQL server | ||
+ | |||
+ | mysqli_real_connect(): | ||
+ | |||
+ | Connection for controluser as defined in your configuration failed. | ||
+ | |||
+ | mysqli_real_connect(): | ||
+ | |||
+ | or | ||
+ | |||
+ | #1698 - Access denied for user ' | ||
+ | </ | ||
==== Create a new admin user or new root user and password with access from any IP remotely ==== | ==== Create a new admin user or new root user and password with access from any IP remotely ==== | ||
Line 282: | Line 298: | ||
</ | </ | ||
+ | Now, let's grant the new rootuser user all privileges including with Grant Option, like this: | ||
+ | |||
+ | < | ||
+ | GRANT ALL PRIVILEGES ON *.* TO ' | ||
+ | </ | ||
+ | |||
+ | And, then run this command: | ||
+ | |||
+ | < | ||
+ | FLUSH PRIVILEGES; | ||
+ | </ | ||
+ | |||
+ | Now, go log into phpmyadmin through a webpage on a remote device with the username rootuser and the password you installed for rootuser. You should have success now. | ||
install_apache_mysql_php_linux_ubuntu_server.txt · Last modified: 2020/06/08 23:20 by wikiadmin