LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2010, 12:40 AM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
SugarCRM Migration


I am migrating SugarCRM from windows server to a linux server. But the main problem is the database. How will I import the data from MSSQL of windows to MYSQL of Linux ?
 
Old 10-10-2010, 10:59 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You might want to read this and do some additional background research. I think the main problem (I'm not an mssql user though) is that the data types in mssql may not be directly translatable to mysql. I suspect SugarCRM uses the same database structure in both, but it is definitely worth making sure the data types in each case is compatible.
 
Old 10-11-2010, 03:40 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
The data is in mdf format and I want to import it into mysql,Is this possible ?
 
Old 10-11-2010, 06:57 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
Originally Posted by divyashree View Post
The data is in mdf format and I want to import it into mysql,Is this possible ?

I'm not familiar with mdf format, but from what I gather, it is a text file containing SQL commands. If so, this could work. Open it in a text file and see if it is SQL.

However, this isn't the format I was referring to. If you read the article I linked to you'll find this:

Quote:
While SQL Server and MySQL have a fair amount of overlap as far as data types go, there are still some differences to be accounted for. Make sure to spend some time looking at the various data types you use in your tables and plan to migrate those tables to the MySQL data types that best match. Be careful when planning this: you want to match data types by capacity and not necessarily by name.
You're going to have to go through the database and see if there are any incompatibilities between the data type used by MSSQL and the data types used by MySQL. You'll also have to understand the format of the data. For example, if the data in MSSQL is stored as MM-DD-YYYY but in MySQL is stored as YYYY-MM-DD, you could get some SERIOUS data corruption, even if both fields are the same data type.

If you haven't already, I'd also ask for help in the SugarCRM forums. Someone there may have hands-on experience in making the transition you're considering.
 
Old 10-11-2010, 08:07 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Essentially the same question the OP posted in another forum, but with some additional detail.
 
Old 10-11-2010, 01:48 PM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Original Poster
Rep: Reputation: 135Reputation: 135
No the mdf file doesnot open in text file, it has to convert into .sql format so that it can be opened in a text file and then it can be easily imported and thanks for refering me to ask on SugarCRM forum and I am going there now.

Last edited by divyashree; 10-11-2010 at 02:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql 4-5 migration as well as character set migration from latin1 to utf8? helptonewbie Linux - Server 3 05-15-2008 05:15 AM
[SOLVED] download SugarCRM for linux Buddhike G Linux - Software 2 08-31-2007 04:55 AM
sugarCRM sql backup import hua Linux - Server 1 12-09-2006 09:11 AM
LXer: Is SugarCRM open source? LXer Syndicated Linux News 1 11-07-2006 07:24 AM
installation of sugarcrm bin file hconnor Linux - Newbie 2 07-25-2006 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration