Question

Php Myadmin Install

Posted January 27, 2019 1.9k views
Ubuntu MySQL PHP

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

1 comment
  • Error at the line 24: CREATE DATABASE IF NOT EXISTS techwolv_warehouse DEFAULT CHARACTER SET utf8 COLLATE utf8unicodeci;

    Query: –

    CREATE DATABASE IF NOT EXISTS techwolv_warehouse DEFAULT CHARACTER SET utf8 COLLATE utf8unicodeci

    MySQL: Access denied for user ‘kenboyerinvento’@’%’ to database 'techwolvwarehouse’

    Tried using bigdump and i got that as well

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.

1 answer

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

Submit an Answer