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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Database problem
Pages: [1]

Author Topic: Database problem  (Read 1331 times)

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Database problem
November 19, 2009, 03:42:13 pm
I moved CiviCRM and Drupal a common database to another server. I get to that database connection Drupal, but CiviCRM complains that:
Quote
CiviCRM Etusivu

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    DB Error: a515ac9c2796ca0e23adbe92c68fc9fc

    Database Error Code: Access denied for user 'yhdistys'@'192.0.2.1' (using password: YES), 1045

    Palaa kotisivulle.

Error Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
[code ] => a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] =>
SELECT    civicrm_contact_fi_FI.display_name as display_name,
          civicrm_contact_fi_FI.contact_type as contact_type,
          civicrm_contact_fi_FI.contact_sub_type as contact_sub_type,
          civicrm_email.email          as email       
FROM      civicrm_contact_fi_FI
LEFT JOIN civicrm_email ON civicrm_email.contact_id = civicrm_contact_fi_FI.id
     AND  civicrm_email.is_primary = 1
WHERE     civicrm_contact_fi_FI.id = 1 [nativecode=1045 ** Access denied for user 'yhdistys'@'192.0.2.1' (using password: YES)]
    [type] => DB_Error
    [user_info] =>
SELECT    civicrm_contact_fi_FI.display_name as display_name,
          civicrm_contact_fi_FI.contact_type as contact_type,
          civicrm_contact_fi_FI.contact_sub_type as contact_sub_type,
          civicrm_email.email          as email       
FROM      civicrm_contact_fi_FI
LEFT JOIN civicrm_email ON civicrm_email.contact_id = civicrm_contact_fi_FI.id
     AND  civicrm_email.is_primary = 1
WHERE     civicrm_contact_fi_FI.id = 1 [nativecode=1045 ** Access denied for user 'yhdistys'@'192.0.2.1' (using password: YES)]
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="
SELECT    civicrm_contact_fi_FI.display_name as display_name,
          civicrm_contact_fi_FI.contact_type as contact_type,
          civicrm_contact_fi_FI.contact_sub_type as contact_sub_type,
          civicrm_email.email          as email       
FROM      civicrm_contact_fi_FI
LEFT JOIN civicrm_email ON civicrm_email.contact_id = civicrm_contact_fi_FI.id
     AND  civicrm_email.is_primary = 1
WHERE     civicrm_contact_fi_FI.id = 1 [nativecode=1045 ** Access denied for user 'yhdistys'@'192.0.2.1' (using password: YES)]"]
)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Database problem
November 20, 2009, 09:26:57 am
Did you follow all these steps completely:
http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

... and triple check the CIVICRM_DSN setting (especially the user and pw parts) in civicrm.settings.php ???
Protect your investment in CiviCRM by  becoming a Member!

mrl586

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
  • CiviCRM version: 4.0
  • CMS version: Drupal 7.0
  • MySQL version: 5.5.9
  • PHP version: 5.3.5
Re: Database problem
November 20, 2009, 09:37:10 am
Quote from: Dave Greenberg on November 20, 2009, 09:26:57 am
Did you follow all these steps completely:
http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location
Yes.
Quote from: Dave Greenberg on November 20, 2009, 09:26:57 am
... and triple check the CIVICRM_DSN setting (especially the user and pw parts) in civicrm.settings.php ???
Yes. User and password is OK (Drupal use same database username and password).

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Database problem

This forum was archived on 2017-11-26.