Results 1 to 2 of 2

Thread: Copying database causes a problem

  1. #1
    smotsie is offline Junior Member
    Join Date
    Nov 2008
    Posts
    2

    Unhappy Copying database causes a problem

    Hi guys,

    Very much a newbie Sugar user here. I have searched the forums but cannot find any threads talking about my particular problem.

    We installed three copies of Sugar CRM, for development, staging and live. We now want to move the work we did on the development system to live. The files are identical (I used rsync) and then I used MySqldump to get the db into a file, and then edited the resultant file to replace the three instances of the database name with that of the live one. I then used MySql to re-fill the database with the dev contents (yes, we were happy to zap the whole live one, as it's not really live yet)

    It all seemed to work fine, and the data and tables look identical... until I tried to connect. In my browser I get an error "Sugar CRM 5.1.0a Files May Only Be Used With A Sugar CRM 5.1.0 Database." which is just weird - all three systems are 5.1.0a!

    Any ideas? Is what I am trying to do not sensible? is there a better way of deploying from a development server to a live one?

    Cheers

    Simon West

  2. #2
    smotsie is offline Junior Member
    Join Date
    Nov 2008
    Posts
    2

    Default Re: Copying database causes a problem

    OK, apologies...my bad

    I used sed to do the edit, and it altered more in the database than I assumed it would. I used MySqlDump on the dev and live and then diff'd the two resultant files. Table config had a version string which was mangled by my sed command.

    Oh well... we live and learn.

    Simon West

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. count database problem
    By andreasbalzer in forum Help
    Replies: 5
    Last Post: 2008-08-18, 08:08 AM
  2. Database problem
    By ksukat in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-02-11, 08:27 PM
  3. Problem Installing 3.05 Database
    By bigsurf in forum Help
    Replies: 6
    Last Post: 2005-08-16, 05:21 PM
  4. Install problem - mySQL Database Not Available?
    By TimF in forum General Discussion
    Replies: 2
    Last Post: 2005-05-23, 10:39 AM
  5. Problem with contacts in the database.
    By nicolas in forum Help
    Replies: 1
    Last Post: 2005-05-17, 02:55 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
  •