Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB
在linux下,用mysql的导出语句:
mysqldump -hlocalhost -uroot -pPasswd table >/home/ftp/test.sql
出现了
mysqldump: Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TABLES
只要给root用户再添加一个对全部host都有可以访问的权限
操作如下:
登陆mysql
mysql -u root -pPasswd
mysql >grant all privileges on *.* to root@"%" identified by "Passwd"
mysql >flush privileges;
==============
END~! KO.
再进行导出就可以执行了。
转载于:https://www.cnblogs.com/jthb/p/3895664.html
Got error: 1449: The user specified as a definer ('root'@'%') does not exist when using LOCK TAB相关推荐
- SQLSTATE[HY000]: General error: 1449 The user specified as a definer (‘root‘@‘%‘) does not exist
mysql建立视图的时候,需要执行以下命令: grant all privileges on *.* to xxxx@"%" identified by "." ...
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist
在项目中修改数据,后台报错: mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决:原因是你对数据中一 ...
- mysql 1449 : The user specified as a definer ('root'@'%') does not exist 解决方法
权限问题,授权 给 root 所有sql 权限 mysql> grant all privileges on *.* to root@"%" identified by & ...
- mysqldump: Got error: 1449
做mysqldump时出现如下问题 mysqldump: Got error: 1449: The user specified as a definer ('jyk'@'%') does not e ...
- mysql dump 1449_mysqldump: Got error: 1449
今天安装了个测试环境,将数据库的数据导了过来,再导出的时候提示错误. #mysqldump -uroot -p testdb > test.sql mysqldump: Got error: 1 ...
- mysql error 1449_MySql错误:ERROR 1449 (HY000)
笔者系统为 mac ,不知怎的,Mysql 竟然报如下错误: ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschem ...
- ERROR 1449 (HY000): The user specified as a definer (‘mysql.infoschema‘@‘localhost‘) does not exist
问题: mysql> use sk; Database changed mysql> show tables; ERROR 1449 (HY000): The user specified ...
- [Err] 1449 - The user specified as a definer ('admin_isbox'@'localhost') does not exist
晚上加班调用一个远程拷贝的本地Mysql的储存过程,报错:[Err] 1449 - The user specified as a definer ('admin_isbox'@'localhost' ...
- mysql 1449 : The user specified as a definer ('usertest'@'%') does not exist 解决方法 (grant 授予权限)...
从服务器上迁移数据库到本地localhost 执行 函数 时报错, mysql 1449 : The user specified as a definer ('usertest'@'%') do ...
最新文章
- es根据字段长度过滤_Es 根据数组长度查询
- js tool 方法之删除数组指定项
- K for the Price of One(EASY HARD)
- mysql必须的组件_mysql innodb的重要组件
- 计算凸多边形面积的算法
- 575 div3RGB Substring (hard version)——思维-
- GOOGLE搜索出来的你的网站说明是乱码的
- TensorFlow 实例一:线性回归模型
- Arcgis api for javascript学习笔记(3.2X版本)-初步尝试
- js接收springmvc传过来的数据_Java修行第072天 ---SpringMVC(中)
- 如何在opengl用代码绘制英文_如何用AIPS直接绘制服装款式图(线稿)
- c语言 乘号 指针 避免,C语言指针篇(一)指针与指针变量
- 使用可重启AD DS 整理活动目录数据库
- 麻瓜编程python web_麻瓜编程 Python Web开发工程师教程 完整版
- 2021年中青杯 B题 港珠澳车辆通行(详细解题思路)
- scrapy介绍及使用
- 理解virt、res、shr之间的关系(linux系统篇)
- python内置函数之len()方法
- vue3实现主题切换功能
- 【android】解码.9图片及xml
热门文章
- python画饼图-python画饼图的多种方式
- python3爬虫入门教程-python3爬虫入门程序
- python开发的比较知名的游戏-游戏排行榜-Python实现
- python中国大学排名爬虫写明详细步骤-python爬虫爬取2020年中国大学排名
- python装饰器函数-【python3】 函数 装饰器
- 零基础python从入门到精通 pdf-跟老齐学Python从入门到精通 电子版(pdf格式)
- python基础语法总结-Python基础语法总结之逻辑运算
- python有什么作用-大数据学习之python语言有什么作用?
- python基础教程视频(全13集)-Python基础视频教程全集
- 编程软件python中的if用法-python 函数式编程工具