http://www.jb51.net/article/31850.htm

 

https://www.cnblogs.com/SQL888/p/5748824.html

 

http://www.cnblogs.com/zeroone/articles/2298942.html

 

授权时,需要加上identified by ,如果不加,则会查询不到数据库

 

创建数据库:

create database test DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

注意 utf8和utf8mb4 的区别,根据自己的需要选择

 

show grants for test;

相关文章:

  • 2022-12-23
  • 2021-10-23
  • 2021-09-29
  • 2022-02-08
  • 2022-12-23
  • 2022-02-08
猜你喜欢
  • 2022-12-23
  • 2022-01-12
  • 2022-01-28
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案