I can´t install phpmyadmin in a wordpress multisite

I need to change the ip address of the droplet to an actual domain in a wordpress multisite. I´ve pointed the domain to digital ocean and created the domain records in the droplet, but now after typing the domain name in the browsers, automatically gets the ip of the droplet. So i´ve read some tutorials on how to fix that, and supposedly I have to alter some columns in the database.

I´ve tried by SSH but I finally couldn´t. Now I´m trying to install phpmyadmin but I´m getting the following error:

ERROR 1045 (28000): Access denied for user
│ ‘debian-sys-maint’@‘localhost’ (using password: YES) . Your options are:
│ * abort - Causes the operation to fail; you will need to downgrade,
│ reinstall, reconfigure this package, or otherwise manually intervene
│ to continue using it. This will usually also impact your ability to
│ install other packages until the installation failure is resolved.
│ * retry - Prompts once more with all the configuration questions
│ (including ones you may have missed due to the debconf priority
│ setting) and makes another attempt at performing the operation.
│ * retry (skip questions) - Immediately attempts the operation again,
│ skipping all questions. This is normally useful only if you have
│ solved the underlying problem since the time the error occurred.

Could someone tell me how is the easiest way to modify the database to change the current ip of the droplet to an actual domain to set the main domain of the wordpress multisite?


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @webmastermrpe,

In order to make your domain load your website after you’ve configured your DNS, you’ll need to create the proper configuration on your Droplet. The configuration actually differs depending on your WebSerive - Apache/Nginx.

  • Nginx

Firstly, you’ll need to learn how block learn in Nginx. There is a really good tutorial from DigitalOcean here -

Once you know where and what blocks are used for you can check the Let’s Encrypt installation with Nginx

It will show you how to secure it.

  • Apache

Now, Apache doesn’t have blocks but there are vhosts. If you are unsure how to configure them, you can check how here, again a tutorial by DigitalOcean

Once you now how to configure Vhosts, you can see how to configure Let’s Encrypt by reviewing the following article :

  • phpMyAdmin

To install phpMyAdmin you can again follow a DigitalOcean tutorial here -

It will help you and guide you to the right process.

Regards, KDSys