Results 1 to 6 of 6

Thread: Converting Database from MySQL to SQL Server Error - Pls Help.

  1. #1
    plehry is offline Sugar Community Member
    Join Date
    Feb 2009
    Posts
    20

    Default Converting Database from MySQL to SQL Server Error - Pls Help.

    I'm trying to convert an installation of SugarCRM from MySQL to SQL Server 2008 R2. I have the installation done with a blank database and it works. I converted the database using Microsoft's SQL Server 2008 R2 Migration Toolkit for MySQL. While it gave me some errors, I was able to fix those but when I try to access the site itself with the converted database, I get the following error:

    Sugar CRM 6.2.4 Files May Only Be Used With A Sugar CRM 6.2.4 Database

    Everything is the same (the PHP version, the database filename, the log filename, IIS). All I do is convert the MySQL database to SQL Server 2008 R2 and try to access the site.

    There was another posting here mentioning a change in the config.php file but I haven't changed anything except migrate data from the MySQL database to the SQL Server one.

    Any help would be greatly appreciated.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Converting Database from MySQL to SQL Server Error - Pls Help.

    Check out this post on how to deal with this error: http://www.sugarcrm.com/forums/264053-post2.html

  3. #3
    plehry is offline Sugar Community Member
    Join Date
    Feb 2009
    Posts
    20

    Default Re: Converting Database from MySQL to SQL Server Error - Pls Help.

    Thx Eggsurplus. That query indicated the version was 5.5.1.

    I edited the table and changed it to 6.2.4 and it worked. Thx so much.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Converting Database from MySQL to SQL Server Error - Pls Help.

    No problem. Did you ever run the upgrade to 6.2.4? It should have updated that value to 6.2.4 for you. If you didn't run the upgrade you may run into some data integrity issues as there are some data changes at times in the upgrades. It isn't just structural changes. Just a heads up if you come across something odd.

  5. #5
    plehry is offline Sugar Community Member
    Join Date
    Feb 2009
    Posts
    20

    Default Re: Converting Database from MySQL to SQL Server Error - Pls Help.

    I'm actually doing a conversion from MySQL to SQL Server, so when I do the conversion, it's putting the old version number in there again.

  6. #6
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Converting Database from MySQL to SQL Server Error - Pls Help.

    I don't understand how the conversion would be responsible for that, specially if the only difference between the two systems/installs is the database server in use.

    What version of Sugar are you running on the source instance?

    Same question, but for the SQL Server instance that is blank?
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MySQL error 2006: MySQL server has gone away
    By fusionstaffing in forum Developer Help
    Replies: 1
    Last Post: 2009-09-25, 10:43 PM
  2. Replies: 5
    Last Post: 2008-08-04, 03:30 PM
  3. MySQL error 1292: when converting a Lead
    By Deland01 in forum Help
    Replies: 4
    Last Post: 2007-09-25, 04:07 PM
  4. Replies: 6
    Last Post: 2005-12-21, 01:46 PM
  5. mysql error when converting lead 3.0b
    By obuwebco in forum General Discussion
    Replies: 0
    Last Post: 2005-05-09, 06:43 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
  •