0

How to grant super privilege to my database to set global. How to grant super privilege? I got an error while granting the privilege .

Access Denied for the 'user'@'localhost'
Jenz
  • 8,172
  • 7
  • 41
  • 75
user2244059
  • 1
  • 1
  • 3

1 Answers1

0

You should just execute these queries, make sure that MySQL user who executes these queries has GRANT and SUPER privilege:

CREATE USER 'user'@'%' IDENTIFIED BY 'user_pass'; 

GRANT SUPER ON *.* TO 'user'@'%'; 
Mahesh Patil
  • 1,484
  • 1
  • 11
  • 22