Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Problems installing SugarCRM 5.0.2a

  1. #1
    TestSugar1 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    31

    Exclamation Problems installing SugarCRM 5.0.2a

    Hello

    I installed SugarCRM 5.0.2a on my local computer (to make tests) and I had some problems. I understood that I could install the software only if I was connected with the 'administrator' login on the computer, and not with an other login that would have administrator rights.
    Enventually, I managed to install Sugar on my computer.

    The problem is that now I must install the production database on a VM (Virtual Machine), and I have the same installation problems, however I connect with the 'administrator" login or with another with admin rights.

    The install seems to happen well, but at the end, when I launch Sugar, it's the http://127.0.0.1/sugarcrm/install.php page that is launched, and I am supposed to do the install again... and it doesn't work.

    I get the following message:

    Création de fichier de configuration Sugar (config.php)

    Création de tables de l'application Sugar, tables d'audit, et relations des metadonnées...
    Création de la base de données sugarcrm ok 127.0.0.1...fait
    Unable to select database: Access denied for user ''@'localhost' to database 'sugarcrm'


    Do you know how I can solve my problem?
    Thanks for your help

    NB : I downloaded the sugarcrm-CE-5.2.0a-windows-installer.exe file using « FastStack Windows Installer for 5.2.0a with MySQL » on the SugarCRM website.

  2. #2
    TestSugar1 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    31

    Default Re: Problems installing SugarCRM 5.0.2a

    Hello,

    Any idea to help me?

    I'm completely stuck...

  3. #3
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Problems installing SugarCRM 5.0.2a

    Possible things are,

    1. you do not have access to the DB.

    2. DB is not in your local machine

  4. #4
    TestSugar1 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    31

    Default Re: Problems installing SugarCRM 5.0.2a

    Quote Originally Posted by crmsiva View Post
    Possible things are,

    1. you do not have access to the DB.

    2. DB is not in your local machine
    OK I understand that this is what the message means... but I'm using the complete package to install SugarCRM, so I'm installing MySQL at the same time as SugarCRM.
    Then I don't understand how problems 1 or 2 could happen...

  5. #5
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Problems installing SugarCRM 5.0.2a

    ok. Are you sure your MySql is running?

    Could you post the following details from your config.php?

    'dbconfig' =>
    array (
    'db_host_name' => '',
    'db_host_instance' => '',
    'db_user_name' => '',
    'db_password' => '',
    'db_name' => '',
    'db_type' => 'mysql',
    ),

  6. #6
    TestSugar1 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    31

    Default Re: Problems installing SugarCRM 5.0.2a

    Quote Originally Posted by crmsiva View Post
    ok. Are you sure your MySql is running?
    Mmmm... How can I check that?

    Quote Originally Posted by crmsiva View Post
    Could you post the following details from your config.php?
    Are you talking about the file that is created in C:\Program Files\sugarcrm-5.2.0a\htdocs\sugarcrm?

    If I try the install by double-clicking on the .exe file, this config.php file is empty.

    Then, if I try again the install via the http://127.0.0.1/sugarcrm/install.php page, I get:

    'dbconfig' =>
    array (
    'db_host_name' => '127.0.0.1',
    'db_host_instance' => 'SQLEXPRESS',
    'db_user_name' => 'administrator',
    'db_password' => 'Logica44',
    'db_name' => 'sugarcrmdb',
    'db_type' => 'mysql',
    ),

    Is it OK?

  7. #7
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Problems installing SugarCRM 5.0.2a

    Try like this

    'db_host_name' => 'localhost',
    'db_user_name' => 'root',
    'db_password' => '',

    Also make sure that you db is sugarcrmdb or sugarcrm

  8. #8
    TestSugar1 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    31

    Default Re: Problems installing SugarCRM 5.0.2a

    Quote Originally Posted by crmsiva View Post
    Try like this

    'db_host_name' => 'localhost',
    'db_user_name' => 'root',
    'db_password' => '',

    Also make sure that you db is sugarcrmdb or sugarcrm
    Sorry, I tried first the install with a DB called 'sugarcrm' and then 'sugarcrmdb', because I wondered if the problem could come from there... but apparently no.

    I tried the modifications you gave me, and I stopped and started again SugarCRM Service.
    Now, when I go to "Start here", I get an internet page with:

    Could not connect to server localhost as root.Access denied for user 'root'@'localhost' (using password: NO)

  9. #9
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: Problems installing SugarCRM 5.0.2a

    Did you left the db_password empty? If not leave it as empty and check

  10. #10
    TestSugar1 is offline Senior Member
    Join Date
    Mar 2009
    Posts
    31

    Default Re: Problems installing SugarCRM 5.0.2a

    Quote Originally Posted by crmsiva View Post
    Did you left the db_password empty? If not leave it as empty and check
    Yes, I had left ot empty, and that's the error message I got.

    Now if I modify again the config.php file putting a password again, stop and start the Service again, here is the error message:
    Unable to select database: Unknown database 'sugarcrmdb'

    EDIT:

    If I change the config.php file again to put 'db_name' => 'sugarcrm', (instead of 'db_name' => 'sugarcrmdb',), I get almost the same error message:
    Unable to select database: Unknown database 'sugarcrm'
    Last edited by TestSugar1; 2009-03-17 at 03:54 PM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Having problems installing SugarCRM-5.0a
    By neevaan in forum Installation and Upgrade Help
    Replies: 6
    Last Post: 2009-04-01, 07:10 PM
  2. Installing sugarcrm 4.2.0.a problems
    By spiderman in forum Help
    Replies: 0
    Last Post: 2006-05-16, 09:35 PM
  3. Installing Problems
    By wurz25 in forum Help
    Replies: 1
    Last Post: 2006-02-27, 09:59 AM
  4. Replies: 2
    Last Post: 2005-10-28, 09:43 PM
  5. Problems with Installing 3.5c
    By activeprime in forum Help
    Replies: 0
    Last Post: 2005-09-29, 04:11 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
  •