`
陈谏辉
  • 浏览: 48023 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

mysql 备份Can't create/write to file

阅读更多

数据库备份时:

D:\mysql\MySQL\bin>mysqldump -h localhost -u root -p mydb >e:\mysql\mydb.sql

报以下错误:

Can't create/write to file 'C:\WINDOWS\TEMP\#sql_27c_0.MYI' (Errcode: 17)

因为c盘的该目录没有写的权限,是McAfee VirusScan禁止了写权限。

第1:

在my.ini中[mysqld]里面添加一行
tmpdir="d:/mysql/temp/"
指定创建创建临时文件的目录,大量查询时会用到
重新启动mysql服务使之生效.

第2:

打开McAfee VirusScan控制台->按访问扫描程序->属性->所有进程->检测项->排除项->添加D:\mysql\temp\
排除时间选择读取时写入时.

分享到:
评论

相关推荐

    解决MYSQL出现Can''t create/write to file ''#sql_5c0_0.MYD''的问题

    今天在配置服务器的时候提示这个问题Can't create/write to file,原来是php.ini中设置的tmp目录不存在

    Cant create/write to file C:\WINDOWS\TEMP\…MYSQL报错解决方法

    错误提示:Error: Can’t create/write to file ‘C:\WINDOWS\TEMP\#sql_738_0.MYD’ (Errcode: 17) Errno.: 1 问题分析: 1、C:\Windows\TEMP 文件夹权限不够,至少也要给出 USERS 组的可读可写权限; 2、C:\...

    Can't create/write to file 'C:\WINDOWS\TEMP\...MYSQL报错解决方法

    Can't create/write to file 'C:WINDOWSTEMP...MYSQL报错解决方法,参考下面的方法即可。

    解决MYSQL出现Can”t create/write to file ”#sql_5c0_0.MYD”的问题

    MySQL error:Can’t create/write to file ‘#sql_5c0_0.MYD’ MySQL server error: Can’t create/write to file ‘C:/WINDOWS/TEMP/#sql_a80_0.MYD’ (Errcode: 17) ( 1 ) 根据从网上搜索问题提示和自己遇到的情况...

    Can't create TCP/IP socket(24).原因及解决办法

    Cannot create TCP/IP socket(24).原因及解决办法

    解决MySQL因不能创建临时文件而导致无法启动的方法

    mysqld: Can't create/write to file '/tmp/ibfguTtC' (Errcode: 13) 说明/tmp目录无法写入 解决办法 使用命令 ll -d /tmp 命令检查目录权限 使用 chmod 1777 /tmp 设置为正确权限 启动成功 总结 以上就是这篇...

    mysql查询结果输出到文件的方法

    mysql查询结果导出/输出/写入到文件 方法一: 直接执行命令: mysql> select count(1) from table into outfile ‘/tmp/test.xls’;...ERROR 1 (HY000): Can’t create/write to file ‘/data/test.xls’

    服务器安装Macfee(麦咖啡)杀毒软件后可能出现的问题

    问题现象 无法在线发送邮件,Jmail组件或其他发邮件组件失灵。 出错原因 Macfee软件禁止了w3wp.exe(IIS进程)对外发送邮件。 解决方法 ...Error: Can’t create/write to file ‘C:\windows\temp\#sql_

    MySQL 5.1官方简体中文参考手册

    1.7.3. MySQL论坛上的MySQL社区支持 1.8. MySQL标准的兼容性 1.8.1. MySQL遵从的标准是什么 1.8.2. 选择SQL模式 1.8.3. 在ANSI模式下运行MySQL 1.8.4. MySQL对标准SQL的扩展 1.8.5. MySQL与标准SQL的差别 1.8.6. ...

    drupal 6.12

    to create the files directory and grant the web server write privileges to it: mkdir sites/default/files chmod o+w sites/default/files The install script will attempt to write-protect the ...

    MySQL+Cookbook.

    The other major emphasis is how to write programs that interact with the M API. You'll find plenty of examples using several language APIs in multiple scenarios and situations, includin retrieve and ...

    MySQL 5.1中文手冊

    13.4.4. SAVEPOINT和ROLLBACK TO SAVEPOINT语法 13.4.5. LOCK TABLES和UNLOCK TABLES语法 13.4.6. SET TRANSACTION语法 13.4.7. XA事务 13.5. 数据库管理语句 13.5.1. 账户管理语句 13.5.2. 表维护语句 13.5.3. SET...

    MySQL 5.1参考手册

    MySQL 5.1参考手册.chm 前言 1. 一般信息 1.1. 关于本手册 1.2. 本手册采用的惯例 1.3. MySQL AB概述 1.4. MySQL数据库管理系统概述 1.4.1. MySQL的历史 1.4.2. MySQL的的主要特性 1.4.3. MySQL稳定性 1.4.4. MySQL...

    MySQL 5.1参考手册中文版

    目录 前言 1. 一般信息 1.1. 关于本手册 1.2. 本手册采用的惯例 1.3. MySQL AB概述 ...13.4.4. SAVEPOINT和ROLLBACK TO SAVEPOINT语法 13.4.5. LOCK TABLES和UNLOCK TABLES语法 13.4.6. SET ...

    MySQL 5.1参考手册 (中文版)

    13.4.4. SAVEPOINT和ROLLBACK TO SAVEPOINT语法 13.4.5. LOCK TABLES和UNLOCK TABLES语法 13.4.6. SET TRANSACTION语法 13.4.7. XA事务 13.5. 数据库管理语句 13.5.1. 账户管理语句 13.5.2. 表维护语句 13.5.3. SET...

    mysql5.1中文手册

    MySQL论坛上的MySQL社区支持 1.8. MySQL标准的兼容性 1.8.1. MySQL遵从的标准是什么 1.8.2. 选择SQL模式 1.8.3. 在ANSI模式下运行MySQL 1.8.4. MySQL对标准SQL的扩展 1.8.5. MySQL与标准SQL的...

    MYSQL中文手册

    13.2.5. LOAD DATA INFILE语法 13.2.6. REPLACE语法 13.2.7. SELECT语法 13.2.8. Subquery语法 13.2.9. TRUNCATE语法 13.2.10. UPDATE语法 13.3. MySQL实用工具语句 13.3.1. DESCRIBE语法(获取有关列的信息...

    mysql官方中文参考手册

    MySQL 5.1参考手册 目录 前言 1. 一般信息 1.1. 关于本手册 1.2. 本手册采用的惯例 1.3. MySQL AB概述 1.4. MySQL数据库管理系统概述 1.4.1. MySQL的历史 1.4.2. MySQL的的主要特性 1.4.3. MySQL稳定性 1.4.4. ...

    Foundations for Analytics with Python O-Reilly-2016-Clinton W. Brownley

    Next, the chapter discusses how to use three different types of conditional logic to filter for specific rows from the input file and write them to a CSV output file. Then the chapter presents two ...

Global site tag (gtag.js) - Google Analytics