Results 1 to 2 of 2

Thread: How to connect local installation to a remote database

  1. #1
    Owl01 is offline Member
    Join Date
    Jan 2008
    Posts
    6

    Default How to connect local installation to a remote database

    We have Sugar 5.0b on a Linux server linked up to a MySQL database on a separate server - both provided by a 3rd party webhost.

    We have problems with the Sugar CRM server going down regularly for extended periods. Since the MySQL server is fine I have created a fresh install on my laptop of 5.0b and am trying to get it to point to our existing database.

    The install has just created a new MySQL database locally, how do I get Sugar to point to the remote database? Do I need to reinstall? If so, do I need to install PHP locally or just the Sugar application?

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

    Default Re: How to connect local installation to a remote database

    Take a look at the root folder of your SugarCRM installation. You will find a file called config.php within that folder.

    You will need to edit the following section:
    Code:
      array (
        'db_host_name' => 'ADDRESS_FOR_REMOTE_MYSQL_SERVER',
        'db_host_instance' => '',
        'db_user_name' => 'MYSQL_LOGON_FOR_REMOTE_SERVER',
        'db_password' => 'MYSQL_PASSWORD_FOR_REMOTE_SERVER',
        'db_name' => 'SUGARDBNAME_ON_REMOTE_SERVER',
        'db_type' => 'mysql',
      )
    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. Replies: 3
    Last Post: 2007-04-09, 05:18 PM
  2. step 3 installation problem
    By voitek in forum Installation and Upgrade Help
    Replies: 10
    Last Post: 2007-02-14, 04:35 PM
  3. Replies: 0
    Last Post: 2006-07-17, 04:11 PM
  4. Sugar 401 install and remote MySQL database
    By cosjef in forum General Discussion
    Replies: 5
    Last Post: 2006-03-09, 08:52 AM
  5. RESOLVED: Using a remote MySQL database with SugarCRM
    By cosjef in forum General Discussion
    Replies: 0
    Last Post: 2006-02-04, 05:35 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
  •