Results 1 to 3 of 3

Thread: 关于phpmyadmin导出zip数据库后,再导入中断的严重问题,谢谢大家!

  1. #1
    xmcxyy is offline Junior Member
    Join Date
    Apr 2010
    Posts
    3

    Default 关于phpmyadmin导出zip数据库后,再导入中断的严重问题,谢谢大家!

    我用phpmyadmin导出数据库,自动压缩为.zip文件,然后再导入的的时候,发现phpmyadi n提示:
    错误
    SQL 查询:

    INSERT INTO `leads` (`id`, `date_entered`, `date_modified`, `modified_user_id`, `created_by`, `description`, `deleted`, `assigned_user_id`, `salutation`, `first_name`, `last_name`, `title`, `department`, `do_not_call`, `phone_home`, `phone_mobile`, `phone_work`, `phone_other`, `phone_fax`, `primary_address_street`, `primary_address_city`, `primary_address_state`, `primary_address_postalcode`, `primary_address_country`, `alt_address_street`, `alt_address_city`, `alt_address_state`, `alt_address_postalcode`, `alt_address_country`, `assistant`, `assistant_phone`, `converted`, `refered_by`, `lead_source`, `lead_source_description`, `status`, `status_description`, `reports_to_id`, `account_name`, `account_description`, `contact_id`, `account_id`, `opportunity_id`, `opportunity_name`, `opportunity_amount`, `campaign_id`, `portal_name`, `portal_app`) VALUES ('4ea5537b-b499-5675-2c2c-4ba871c13400', '2010-03-23 07:45:01', '2010-03-23 07:45:01', '1', '1', '饮水机; 家用净水器;', 0, '1', [...]

    MySQL 返回:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '', NULL, NULL, '韩焰平 å…ˆçŸ (市场部 ç»

    我试过了好多种方法,修改了php.ini的上传文件大小限制,肯定不是这个原因

    我之前导入.zip文件是没有问题的,后来最近发生了问题,但是如果我从原系统导出.sql然后再导入好像 是没有问题,就是导出的.sql文件太大了

    是不是压缩文件没法导入了?我把zip文件解压后发现是0K,不知道为什么

    还有的朋友说是编码的问题,我不知道是不是这个原因,请教大家,我的客户资料我急啊,谢谢你们 了!

  2. #2
    allenl is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    44

    Default Re: 关于phpmyadmin导出zip数据库后,再导入中断的严重问题,谢谢大家!

    没试过。 你尝试一下导入导出时字体设置一致, 如都是utf-8格式。
    ============================
    Good good study, day day up.
    请用邮箱和我联系: allen2522@gmail.com

  3. #3
    eddiechen is offline Sugar Community Member
    Join Date
    Jun 2008
    Posts
    462

    Default Re: 关于phpmyadmin导出zip数据库后,再导入中断的严重问题,谢谢大家!

    命令行导入吧,这样比较可靠。

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. csv数据导入乱码问题,请高手指教
    By chinahrp in forum Chinese
    Replies: 3
    Last Post: 2010-03-18, 07:50 AM
  2. 急:关于数据的导入!
    By morley in forum Chinese
    Replies: 7
    Last Post: 2009-12-18, 03:50 AM
  3. 关于数据的导入导出问题。
    By winson97 in forum Chinese
    Replies: 6
    Last Post: 2009-03-27, 05:39 AM
  4. 5.20a非常严重的问题,数据全毁
    By hooha in forum Chinese
    Replies: 15
    Last Post: 2009-02-17, 04:05 AM
  5. Replies: 9
    Last Post: 2008-11-13, 02:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •