V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
shoumu
V2EX  ›  MySQL

mysql 导出数据错误

  •  
  •   shoumu ·
    shoumu · 2014-03-19 14:31:46 +08:00 · 4036 次点击
    这是一个创建于 3663 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用mysql导出数据的时候出现了下面的错误:

    14:22:04 Dumping hotel (orderprocess_remark)
    Error executing task: 'ascii' codec can't decode byte 0xd3 in position 32: ordinal not in range(128)
    Error executing task [Error 32] : 'c:\\users\\\xd3\xc0\xc7\xbf\\appdata\\local\\temp\\tmpnreog5.cnf'
    14:22:05 Export of C:\Users\永强\Documents\dumps\Dump20140319 has finished

    麻烦大家帮忙看看吧
    6 条回复    1970-01-01 08:00:00 +08:00
    iscraft
        1
    iscraft  
       2014-03-19 16:12:13 +08:00
    路径中文字符?罪魁祸首!
    shoumu
        2
    shoumu  
    OP
       2014-03-19 17:19:48 +08:00
    @iscraft @iscraft 是的,知道这个怎么解决吗。我选择其它路径导出也是这个问题
    iscraft
        3
    iscraft  
       2014-03-19 18:19:00 +08:00
    @shoumu 直接导出到c盘根目录呢
    shoumu
        4
    shoumu  
    OP
       2014-03-19 19:46:18 +08:00
    @iscraft 同样错误
    11138
        5
    11138  
       2014-03-19 20:46:54 +08:00
    问题不完整。
    你是不是用workbench来导?
    试过用命令行方式可以导出数据吗?
    iscraft
        6
    iscraft  
       2014-03-19 22:28:14 +08:00
    字符集错误 换工具试试
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2846 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 13:40 · PVG 21:40 · LAX 06:40 · JFK 09:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.