1

I’ve recently done this. I just used php7.1 instead of 7.0

Problem:

So for mysql, I type root for the password as I cannot leave root password blank. Then I go to localhost/phpmyadmin, but I can’t login via username: root and password: root.

I’ve been looking at some guides here and there, but no cigar.

Though one thing I noticed is there currently is non for 5.0 Juno.

Can somebody help me out?

  • Did you tried $ mysql -u root -p as your guide says? If it worked then is only a phpmyadmin configuration problem – Sebastian Jan 1 at 22:07
1

Since you have not deployed a site and their are easier options out there. I recommend removing everything you have done thus far and selecting one of the two options below.

Remove previous LAMP installs

sudo apt-get purge mysql* apache* php*
sudo apt autoremove && sudo apt autoclean

Use tasksel to install LAMP

sudo apt install tasksel
sudo tasksel install lamp-server

Firstly grab and install EE:

sudo wget -qO ee rt.cx/ee4 && sudo bash ee

Now for a LEMP stack run:

sudo ee site create example.com

For a Wordpress LEMP install:

sudo ee site create example.com --type=wp
  • using tasksel for installing LAMP is the best option – Alexandr Oct 2 at 16:23
0

As Juno has an Ubuntu 18.04 base, the following might work. (Mariadb)

sudo apt install mariadb-server mariadb-client
sudo mysql_secure_install

This will set a root password. You may have to use

sudo mysql -u root -p

there onwards.

  • Okay so this installs mysql 5.7. Which also gave me more problems because it wouldn't allow me to login as root via phpmyadmin. I've looked at solutions here and there, but I'll try it once again later. – Rigo Sarmiento Oct 23 '18 at 4:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.