CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Database Error Code
Pages: [1]

Author Topic: Database Error Code  (Read 2042 times)

jarius

  • Guest
Database Error Code
June 17, 2007, 01:45:23 pm
Drupal 5.1
PHP 5
MySQL 5
Apache

I'm getting the following errors:

Database Error Code: Access denied for user 'upliftin_users'@'localhost' to database 'upliftin_crc1', 1044

and

Error Details:

[db_error: message="DB Error: insufficient permissions" code=-26 mode=callback callback=CRM_Core_Error::handle prefix="" info=" [nativecode=1044 ** Access denied for user 'upliftin_users'@'localhost' to database 'upliftin_crc1']"]

It looks like permission issues.  I have granted all to the user.  Any ideas?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Database Error Code
June 17, 2007, 04:12:34 pm
The error does indicate that the specified user (upliftin_users) has insufficient privileges on the DB. So my only suggestion is to reverify the username, pw, server and database names being passed in these two statements in your civicrm.settings.php file - and double-check that the specified user has ALL PRIVILEGES.

Code: [Select]
define( 'CIVICRM_UF_DSN', 'mysql://cms_db_username:cms_db_password@db_server/cms_database?new_link=true');
...
define( 'CIVICRM_DSN'         , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true' );
Protect your investment in CiviCRM by  becoming a Member!

jarius

  • Guest
Re: Database Error Code
June 17, 2007, 06:00:41 pm
Thanks.  I reset everything and it now works.  Thanks again.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Database Error Code

This forum was archived on 2017-11-26.