Ubuntu Server 14.04 --secure-file-priv error in MySql 解决方案
2016-12-26 09:13
501 查看
在VPS部署Ubuntu 14.04服务器时,MySQL执行导出文件命令,报错:
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
问题分析:只能保存在指定默认目录下
解决方案:
在my.cnf [mysqld] 组中增加配置行:
secure-file-priv = "/youSaveFilePath"
重启服务生效:
sudo /etc/init.d/mysql restart
The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
问题分析:只能保存在指定默认目录下
解决方案:
在my.cnf [mysqld] 组中增加配置行:
secure-file-priv = "/youSaveFilePath"
重启服务生效:
sudo /etc/init.d/mysql restart
相关文章推荐
- MYSQL索引
- mysql权限管理
- mysql-sql高级应用
- mysql 5.7.12 winx64手动安装教程
- mysql-sql高级应用
- mysql-sql高级应用
- 字符集和mysql数据库的备份和导入
- ubuntu 16 mysql安装包安装
- mysql乐观锁总结和实践
- innoDB索引使用和优化汇总
- brew install mysql
- MySQL字符串与数字互转
- 关于mysql存储过程,返回多个表数据的接收问题。
- j2ee之jboss与ejb、jsf、jpa整合小项目(一)(数据库为mysql)
- MySql 基础
- 【MySQL】undo,redo,2PC,恢复思维导图
- liunx下安装mysql数据库(2)
- mysql锁机制
- mac 安装 mysql odbc 驱动
- mysql btree与hash索引的适用场景和限制