Results 1 to 5 of 5

Thread: Export data from MS SQL server to mySQL

  1. #1
    Baldinato is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    23

    Default Export data from MS SQL server to mySQL

    Hi!

    I use Sugar 5.0, Apache, Mysql on windows server 2000. I have created a php script that extracts data from a MS SQL server and insert into a mySQL.

    Now I wanna creata a scheduler to execute it in automatic manner.

    I try in different manner but i don't resolve. Any idea?

    Thanks,

    Christian

  2. #2
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Export data from MS SQL server to mySQL

    Are you using linux or MS based server?

    The scheduler set up is slightly different for each.
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

  3. #3
    Baldinato is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    23

    Default Re: Export data from MS SQL server to mySQL

    Hi!

    I use Windows 2000 Server.

    Thanks,

    Christian

  4. #4
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Export data from MS SQL server to mySQL

    First you need to create a batchfile, so something like schedule.bat, which contains the following two lines...


    cd C:\<path to your sugar root folder>
    php.exe -f cron.php


    Then you need to set up the microsoft scheduler to call that batch file periodically.

    Finally, you need to ensure you have your export/import job set up in the scheduled tasks in admin->schedulers

    Nick
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

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

    Default Re: Export data from MS SQL server to mySQL

    See http://www.sugarcrm.com/wiki/index.p...ux_or_Mac_OS_X as well for more information.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 2010-03-16, 02:30 PM
  2. Replies: 19
    Last Post: 2008-04-11, 05:41 PM
  3. convert mysql to sql server
    By jboden in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-01-04, 08:08 AM
  4. Install SugarCRM with MS SQL Server !
    By fvermenouze in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-10-01, 10:44 AM
  5. Best way to import data from SQL Server App
    By gremln007 in forum Help
    Replies: 4
    Last Post: 2004-11-15, 04: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
  •