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 »
  • Standalone Installations (Moderator: cap10morgan) »
  • Error Installing latest Beta....
Pages: [1]

Author Topic: Error Installing latest Beta....  (Read 2174 times)

amitpareek

  • Guest
Error Installing latest Beta....
January 14, 2010, 05:30:14 am
Hi,
I am installing the latest Beta released on 13/01/10....
When it asks me for the DB details, I enter the details as required and when I click Check, I get all the requirements met and marked in green. However, in the next step when the script needs to install in the DB... I get the error. Following are 1st few lines....
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installing CiviCRM...
I am now running through the installation steps (this should take a few minutes)


If you receive a fatal error, refresh this page to continue the installation


Building database schema and setup files...
Cannot execute -- * -- * DROP TABLE IF EXISTS civicrm_pledge_payment; DROP TABLE IF EXISTS civicrm_participant_payment; DROP TABLE IF EXISTS civicrm_participant; DROP TABLE IF EXISTS civicrm_event; DROP TABLE IF EXISTS civicrm_membership_payment; DROP TABLE IF EXISTS civicrm_financial_trxn; DROP
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++

and the last line reads
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
FOREIGN KEY (contribution_id) REFERENCES civicrm_contribution(id) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ;: DB Error: syntax error
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Please suggest what can I do?
I am using root username with no password for MySQL

Thanks,


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Error Installing latest Beta....
January 14, 2010, 10:49:27 am

what is your mysql version?

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

amitpareek

  • Guest
Re: Error Installing latest Beta....
January 15, 2010, 01:53:41 am
Its 5.1...

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: Error Installing latest Beta....
January 15, 2010, 04:10:43 am
Hi Amit

Quote
Cannot execute -- * -- * DROP TABLE IF EXISTS civicrm_pledge_payment;
This might be because of the Database name you provide  is already created / exist and contain the civicrm tables;
So make sure that Database you provide should be empty [if exist ]
OR
Provide new Database name if you have DB creation privileges.

Sunil
« Last Edit: January 15, 2010, 04:31:07 am by Sunil »
The community around a product more important than the product itself?

amitpareek

  • Guest
Re: Error Installing latest Beta....
January 15, 2010, 09:34:49 pm
Hi,
I get the same error if I install it on a new DB... 

And even my other db's which were created earlier dint have any tables they all were empty...

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Error Installing latest Beta....
January 15, 2010, 11:14:26 pm

might want to hire someone from http://civicrm.org/professional/ to figure out what is happening on your install and why

please publish your findings once u figure it out

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • Error Installing latest Beta....

This forum was archived on 2017-11-26.