As I was following this tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-18-04-server, I immediately got an error after this step in the first paragraph:

*Next, you’ll be prompted whether to use dbconfig-common for configuring the application database. Select Yes. *

This is the error:

mysql said: ERROR 1819 (HY000) at line 1: Your password does not satisfy the current policy requirements. 

I find this quite odd, since I didn’t even enter a password yet. I think maybe this has something to do with me installing on Ubuntu 20.04 and not 18.04.

Any word of advice on how to proceed?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi @katovonkatz,

It’s okay to use it on both Ubuntu 20.04 and 18.04. Having said that, can you let me know if this message appeared right after you ran the command

dbconfig-common

One other thing, before following this tutorial I take it you’ve had MySQL installed, did you run the

mysql_secure_installation

option then?

Regards,
KFSys

I got this issue on the process of phpmyadmin installation.

  • hey im currently facing the same issue! were u able to fix it?

    • Besides @KFSys giving me great instructions, I decided to quit this configuration. I tried this several times, including a couple of times of completely re-installing the web server and doing quite some troubleshooting on the existing web server.

      The conclusion of my inquiries is eventually that Nginx can better be installed with other applications than phpmyadmin. The combination of Nginx with MongoDB and NoSQL makes more sense.

      @KFSys, what do you think? Would you agree?

      • Hi @katovonkatz,

        As long as it works for your situation and application, you can use anything even more so if it’s convenient for you to use it.

        I’ve used Nginx with MongoDB and I can say I was impressed and it felt right so, I do agree using it!

Submit an Answer