Results 1 to 3 of 3

Thread: "Unable to select database" issue.

  1. #1
    hanjayac is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    77

    Default "Unable to select database" issue.

    Hi,

    I am installing SugarCRM 5 Faststack Community Edition and I got this error message:

    Unable to select database: Access denied for user ''@'localhost' to database 'sugarcrm'

    Does anyone know whats going on?

    Thanks.

    hc.

  2. #2
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Re: "Unable to select database" issue.

    I had this very same problem my self & worked out it was because I was entering the wrong username on the Database Configuration screen (attached).

    The Database Administration Name has to be root
    Attached Images Attached Images  
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

  3. #3
    simpletiger is offline Junior Member
    Join Date
    May 2008
    Posts
    1

    Default Re: "Unable to select database" issue.

    I discovered a solution to this problem that has been haunting me for 2 days now. I have a hostmonster hosting account and in their MySQL database system, when you create a database called "crm" they rename it "jcsmithp_crm" where "jcsmithp" is your database and ftp admin username. When filling out the SugarCRM Installation form that asks for database name and database username, simply fill out the entire database name, not just everything after the underscore. This solved my problem and I moved on from there. If you are still having an issue, simply delete the database you wanted to use, create a new one, replace the config.php file in your sugarcrm directory with the original installation config.php file, apply a new user to the database you just created, and reinstall sugarcrm. This worked for me and I hope it works for you!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2007-03-06, 01:30 PM
  2. Replies: 7
    Last Post: 2006-11-28, 07:01 PM
  3. Firefox Select Box onclick issue
    By Beagle in forum Help
    Replies: 4
    Last Post: 2006-07-25, 03:31 PM
  4. Serious issue with sugarcrm 3.5.1.c
    By wp.rauchholz in forum Help
    Replies: 17
    Last Post: 2005-12-01, 07:22 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
  •