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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • PEAR_Exception: DB Error: unknown error in unknown on line unknown
Pages: [1]

Author Topic: PEAR_Exception: DB Error: unknown error in unknown on line unknown  (Read 777 times)

yshah

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
    • ICNA Southern California
  • CiviCRM version: 4.2.2
  • CMS version: Acquia Drupal 7.15
  • MySQL version: 5.0.96-community
  • PHP version: 5.3.17
PEAR_Exception: DB Error: unknown error in unknown on line unknown
October 06, 2012, 08:28:21 am
When upgrading to the latest CiviCRM release I get DB Error.  Not sure what's going on.  No DB error id was given either. The mysql user has all privileges granted to the db, I'm not sure what's happening.  Any insight would be helpful.

yshah

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 0
    • ICNA Southern California
  • CiviCRM version: 4.2.2
  • CMS version: Acquia Drupal 7.15
  • MySQL version: 5.0.96-community
  • PHP version: 5.3.17
Re: PEAR_Exception: DB Error: unknown error in unknown on line unknown
October 06, 2012, 10:19:54 am
Ok found a solution.  This may be due to WHM and cPanel.

  • Deploy backup database to start again
  • From the console I ran: > mysql
     (as per solution at http://kb.deru.net/?View=entry&EntryID=142)
  • > use <databasename>;
  • > grant SUPER on *.* to '<user>'@'localhost' identified by '<password>'
  • > flush privileges;
  • Run the update page again

After that everything worked like a charm.  I hope it helps someone else!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • PEAR_Exception: DB Error: unknown error in unknown on line unknown

This forum was archived on 2017-11-26.