创建一个已经存在过的用户,即使drop database ambari
再重新创建
执行CREATE USER 'ambari'@'%'IDENTIFIED BY 'ambari';也会报错,如下(ambari账号是已经存在过,并且delete的):
解决办法:drop user "ambari"@"%";
创建一个已经存在过的用户,即使drop database ambari
再重新创建
执行CREATE USER 'ambari'@'%'IDENTIFIED BY 'ambari';也会报错,如下(ambari账号是已经存在过,并且delete的):
解决办法:drop user "ambari"@"%";