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) »
  • CiviCRM Works but cron Fails
Pages: [1]

Author Topic: CiviCRM Works but cron Fails  (Read 786 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
CiviCRM Works but cron Fails
March 09, 2012, 02:24:04 am
I have a Drupal 6.25 CiviCRM 4.1.1 site which works fine. If I run bin/civimail.cronjob.php or bin/cron.php however I see:

Code: [Select]
Unknown MySQL server host 'locahost'
I get this for both mysql and mysqli connect methods.

Any ideas?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Masked Marauder

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • \__^..^
  • CiviCRM version: 4.5.5
  • CMS version: drupal-6.34
  • MySQL version: 5.5.40-36
  • PHP version: 5.4.34
Re: CiviCRM Works but cron Fails
April 14, 2012, 09:23:57 am
shouldn't it be 'localhost', not 'locahost'?  [a missing 'l']

I'm guessing the problem is in your civicrm.settings.php file, but I can't imagine how the civicrm db could be created if the specification there was wrong in the first place.

check your values of 'CIVICRM_UF_DSN' and  'CIVICRM_DSN' 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM Works but cron Fails

This forum was archived on 2017-11-26.