What permission is required for a MySQL user to create a database?

后端 未结 3 639
夕颜
夕颜 2020-12-18 19:25

Is it possible for a user other than root to create a database?

 GRANT SELECT, CREATE ON *.* TO \'myguy\'@\'thatmachine\' IDENTIFIED BY PASSWORD \'*12057DFA2         


        
3条回答
  •  旧时难觅i
    2020-12-18 19:58

    The password field is what that particular user's password is when logging into MySQL itself. I'm not exactly sure what you mean when you say you wonder what privileges are missing. What exactly are you trying to do?

提交回复
热议问题