Php Myadmin Install

So i installed LAMP on my server and set everything up, installed phpmyadmin and even secured it. But when i try to log into phpmyadmin to upload my database it doesnt allow me. i keep getting errors “Login without a password is forbidden by configuration (see AllowNoPassword)” “#1698 - Access denied for user ‘root’@‘localhost’”

I have tried everything and nothing. I really need to try and get this running by tomorrow. any help appreciated

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.

Create your database and credentials via CLI, over SSH or console:

CREATE DATABASE techwolv_warehouse;
GRANT ALL ON techwolv_warehouse.* to kenboyer_invento IDENTIFIED BY 'passwordhere';```

Then log in to phpMyAdmin with the user/pass you used on that second line, browse to the database, and upload the backup to it.

Bypass phpMyAdmin entirely by getting the database dump into the droplet elsewhere, then run something like:

mysql techwolv_warehouse < techwolv_warehouse.sql