Why is GRANT not working in MySQL?

后端 未结 4 1183
伪装坚强ぢ
伪装坚强ぢ 2020-12-13 05:58

I\'m scratching my head on this one as I see a ton of helper websites showing how to create MySQL users and grant privileges but for some reason it just does not work for me

4条回答
  •  [愿得一人]
    2020-12-13 06:36

    You need to look at mysql.db or mysql.tables_priv tables if you need to select the Y or N if you are trying to do some restrictions of from what page a user can edit or insert or delete... This tables are automatically updated with the Ys and Ns as they are solely designed to show what privileges a user has on tables or columns as opposed to mysql.user whose purpose is to show that there is a certain user who can login(create connection) to a database.

提交回复
热议问题