Report this

What is the reason for this report?

Php Myadmin Install

Posted on January 27, 2019

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



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!

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.

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

Jarland

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.