Results 1 to 2 of 2

Thread: Import problem on full restore (structure and data)

  1. #1
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Import problem on full restore (structure and data)

    When importing a database dump with both structure and data - the import will fail due to FriendList creating a key using Profiles, which has yet to be imported.
    Code:
    ERROR 1064 at line 198395: You have an error in your SQL syntax.  Check the manu
    al that corresponds to your MySQL server version for the right syntax to use nea
    r 'tinyint(2) NOT NULL default '0',
      UNIQUE KEY FriendPair (ID,Pr
    Last edited by Smoge; 11-14-2005 at 10:32 PM.
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  2. #2

    Join Date
    Jun 2005
    Posts
    34

    Default

    I found this and used quotes and problem was fixed.


    Code:
    mysqldump --user=USER --password=PASS -Q DATABASE > db_bkp_before_IQ

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 1000 user database...how to restore?
    By agusta in forum General Troubleshooting
    Replies: 3
    Last Post: 05-12-2010, 08:27 PM
  2. Weird problem some full members get nonmembers message
    By birkenstam in forum General Troubleshooting
    Replies: 4
    Last Post: 07-22-2007, 10:23 AM
  3. structure/look
    By CyberHippie in forum Graphics / Templates
    Replies: 0
    Last Post: 10-08-2006, 11:16 PM
  4. Backup & Restore
    By Rusty007 in forum Database
    Replies: 4
    Last Post: 05-16-2006, 05:21 AM
  5. priv_members table contains data on import
    By Smoge in forum Bugs and Fixes
    Replies: 0
    Last Post: 07-23-2005, 01:31 PM

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
  •