利用mysqldump导入数据库报错:The user specified as a definer (‘root’@’%’) does not exist when using LOCK TABLES
The user specified as a definer (‘root’@’%’) does not exist when using LOCK TABLES
出现这个问题是因为创建数据库的用户已经不存在了,需要把数据库授权给root然后再执行导出即可。
The user specified as a definer (‘root’@’%’) does not exist when using LOCK TABLES
出现这个问题是因为创建数据库的用户已经不存在了,需要把数据库授权给root然后再执行导出即可。
服务器数据库挂了,搞了两天也没有把数据库启动起来,无奈技术太差,只能整个服务器环境重新搭了。