New User for Flexible Azure Database for MySQL-Server

Admin Aaron Strzemiacka 41 Reputation points
2022-10-05T10:14:01.677+00:00

Hello,

we've setup a flexible Azure Database for MySQL-Server. Now a developer tried to setup a new user (with the given admin account):

create user monisoft identified by 'password'
grant insert,select,update,delete on monisoft.* to monisoft;

Unfortunately he didn't get access to the database with this user - is there anything we have also to setup?

Thank You!

Azure SQL Database
0 comments No comments
{count} votes

Accepted answer
  1. Bjoern Peters 8,921 Reputation points
    2022-10-05T11:21:41.803+00:00

    Hi @Admin Aaron Strzemiacka

    maybe it is just your copy and paste of code, or you missed it:

    Flush privileges;  
    

    According to my experience, you have done everything correctly, and it should work.

    Maybe the documentation gives you some more advice:
    https://learn.microsoft.com/en-us/azure/mysql/single-server/how-to-create-users#create-a-non-admin-user

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.