Results 1 to 6 of 6
Like Tree1Likes
  • 1 Post By Angel

Thread: Installation woes

  1. #1
    Adrian Nabarro is offline Junior Member
    Join Date
    Feb 2012
    Posts
    6

    Question Installation woes

    Hi there

    I've been trying to get SugarCRM CE running on a CentOS box for most of the day with little luck. I started off installing 6.4.0RC3 and run into the issues list below, so then tried 6.3.10 with the same issues.

    I get up to the "Database Configuration" screen before the system either says the username and password is not correct (it is, I'm able to connect via the CLI using the same credentials) or "stuck" on the "Verifying DB Credentials" stage.

    There doesn't appear to be any issues relating to this in the apache logs.

    Any help would be greatly appreciated!

    Thanks
    Adrian

  2. #2
    Adrian Nabarro is offline Junior Member
    Join Date
    Feb 2012
    Posts
    6

    Default Re: Installation woes

    Could it have something to do with the way mysql is configured?

    Is 'localhost' to sugar different to 'localhost' to mysql?

    I really can't figure this out!

  3. #3
    Adrian Nabarro is offline Junior Member
    Join Date
    Feb 2012
    Posts
    6

    Default Re: Installation woes

    Looks like I've got it sorted. I'm posting this here just in case it helps anyone else.

    Looks like it was an issue with the root user.

    Creating a separate user with all privileges on the database seemed to do the trick.

    Code:
    mysql> grant usage on *.* to sugarcrm@localhost identified by ‘yourpassword’;
    Code:
    mysql> grant all privileges on sugarcrm.* to sugarcrm@localhost ;

  4. #4
    Chris_C's Avatar
    Chris_C is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Connecticut
    Posts
    227

    Default Re: Installation woes

    Assuming you have mysql installed on the same linux machine as Apache/PHP/Sugar, then yes, localhost refers to the local machine address, and you would put localhost as the address of the database machine, in the Sugar installer.

    Is it a shared hosting account?

    If yes - check your database username -

    It's usually a hybrid of your share hosting account name + the username you selected for the database user.

    For example, if your shared hosting account name is adrian, and you made a database user called sugaruser....

    ....then the CentOS shared hosting control panel will usually make you a mysql database username of adrian_sugaruser

    Post back with your progress, or your solution !

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

    Default Re: Installation woes

    In addition to Chris suggestions/comments, try using 127.0.0.1.

    As odd as it may sound, I have some situations where the IP will work, but 'localhost' won't.
    Chris_C likes this.
    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)
    ______________________________________________

  6. #6
    morrighu is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    34

    Default Re: Installation woes

    As a matter of good practice, you should create the user both ways - with @'localhost' and @'127.0.0.1'

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Installation Woes :(
    By kenergy in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2008-10-03, 01:00 PM
  2. Installation woes
    By grberk in forum Installation and Upgrade Help
    Replies: 20
    Last Post: 2007-12-04, 12:57 AM
  3. Subpanel Woes...
    By swhitlow in forum Developer Help
    Replies: 0
    Last Post: 2007-09-19, 12:40 AM
  4. installation woes v4.0.1.a
    By efgroup in forum General Discussion
    Replies: 2
    Last Post: 2006-02-15, 05:35 PM
  5. Replies: 3
    Last Post: 2005-11-09, 10:35 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
  •