数据库用户创建及授权

create user 'hive'@'%' identified by 'hive';

create database hive default character set utf8mb4 collate utf8mb4_unicode_ci;

grant all on hive.* to 'hive'@'%' identified by 'hive';

猜你喜欢

转载自www.cnblogs.com/students/p/10406296.html