toggle menu

Create database with "No Privileges issues" on digitalocean LEMP server

Dhananjay Kumar |04 Oct at 12:10

We have find the solution with below steps:
Go with Access Command prompt
Run:

# sudo mysql

mysql > GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost';

mysql> exit;

 

And  For specified database:

GRANT ALL ON databasename TO 'username'@'localhost';

Hope help you lots.

 

 

 

  • 1 like
  • 0 comment

Posted:

04 Oct at 12:10

Viewed:

1043 times

Active:

12 Dec at 07:12