Article 6G46Z How to rerun the phpmyadmin setup script?

How to rerun the phpmyadmin setup script?

by
Pedroski
from LinuxQuestions.org on (#6G46Z)
I have a Ubuntu 22.04 cloud server. I want to set up phpmyadmin.

I followed the steps here at Digital Ocean but missed the Warning "hit SPACE":

Quote:
Warning: When the prompt appears, apache2" is highlighted, but not selected. If you do not hit SPACE to select Apache, the installer will not move the necessary files during installation. Hit SPACE, TAB, and then ENTER to select Apache.
I tried to install again using:

Quote:
sudo apt reinstall phpmyadmin php-mbstring php-zip php-gd php-json php-curl
But the setup script does not start in this case.

I do not see phpmyadmin after entering

Quote:
SELECT user,authentication_string,plugin,host FROM mysql.user;
on the mysql command line

Quote:
mysql> SELECT user,authentication_string,plugin,host FROM mysql.user;
+------------------+------------------------------------------------------------------------+-----------------------+-----------+
| user | authentication_string | plugin | host |
+------------------+------------------------------------------------------------------------+-----------------------+-----------+
| debian-sys-maint | $A$005$[IJp1p:#5w{a^"Sm`2;3p6GG3IOsp9Hqc4U4DwyEojoszPAQqGAD56HjJD6mE8 | caching_sha2_password | localhost |
| mysql.infoschema | $A$005$THISISACOMBINATIONOFINVALIDSALTANDPASSWORDTHATMUSTNEVERBRBEUSED | caching_sha2_password | localhost |
| mysql.session | $A$005$THISISACOMBINATIONOFINVALIDSALTANDPASSWORDTHATMUSTNEVERBRBEUSED | caching_sha2_password | localhost |
| mysql.sys | $A$005$THISISACOMBINATIONOFINVALIDSALTANDPASSWORDTHATMUSTNEVERBRBEUSED | caching_sha2_password | localhost |
| pedro | $A$005$_G8LR %*b#W?M+8nqHA91BpNt3CPao7uro61RU92vqoXLi4QWEK15A5T8 | caching_sha2_password | localhost |
| root | | auth_socket | localhost |
+------------------+------------------------------------------------------------------------+-----------------------+-----------+
6 rows in set (0.02 sec)

mysql>

Not sure what I should do now. Apache2 is not linked to phpmyadmin, I think.

Any tips please??
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments