I'm trying to set up a remote user for sonarqube :
USE mysql
CREATE USER sonar@'%' IDENTIFIED BY 'password';
But I get this error :
ERROR 1396 (HY000): Operation CREATE USER failed for 'sonar'@'%'
Any idea ?
EDIT :
I tried to flush privileges;
but same result after that.
EDIT 2 :
The duplicate proposition does not match my issue..
To be precise the users are to be created in mysql
database, which is why I don't do CREATE DATABASE but only CREATE