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) »
  • Installation fail
Pages: [1]

Author Topic: Installation fail  (Read 835 times)

ddunn

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 5.0.7-dev
  • PHP version: 5.3.4
Installation fail
July 28, 2011, 12:21:46 pm
Just installed on my Mac and after the all clear from Check Requirements, the installer isn't able to create tables in the database for CiviCRM, the error message attached  presents (when selecting to have loaded starting data) and the following with out loaded sample data
 
 Building database schema and setup files...Cannot execute /******************************************************* * * civicrm_county * *******************************************************/ INSERT INTO civicrm_worldregion (id, name) VALUES("1", "Europe and Central Asia"): DB Error: no such table
 
 I can't figure out why the table isn't being created. Anyone got any ideas?
 

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Installation fail
July 28, 2011, 02:43:15 pm
Does the user you've configured for CiviCRM have CREATE TABLES permission in MySQL?
Protect your investment in CiviCRM by  becoming a Member!

ddunn

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 5.0.7-dev
  • PHP version: 5.3.4
Re: Installation fail
July 29, 2011, 02:20:27 am
Hi Dave, thanks for your help.

The mysql user does have CREATE TABLES privelges, yes. In fact, the user has been granted all priveleges (I wonder might that be the problem). As is it was just an install on a recent drupal install (which went very smoothly), I'm a little perplexed.


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Installation fail
July 29, 2011, 02:22:46 am
Try to create another db, aside from civicrmdb, and run the installer again. Seems it's something small (and silly) that you're just missing. I'm guessing that's it.
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.

ddunn

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 5.0.7-dev
  • PHP version: 5.3.4
Re: Installation fail
July 29, 2011, 02:28:31 am
I tried that, and I also tried by allowing civicrm to create it's own db (given the user with the right priveleges). Neither of which worked. Maybe fresh eyes this morning might tell me if I've overlooked something.

I'm not knowledgeable enough to tell if the error message in my initial post attachment has any insightful information for me. Does it say anything to you?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Installation fail
July 29, 2011, 04:30:05 am
No I see really nothing in that message beyond that the tables weren't created. Seems like it must be a MySQL permissions issue.
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.

ddunn

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 5.0.7-dev
  • PHP version: 5.3.4
Re: Installation fail
August 15, 2011, 02:21:13 am
Which got me thinking about the sql database that was trying to be created, which lead me to a work-around (or pointed me to where my problem was). I removed the localisation files (l10n and sql folders) from the setup and all worked fine then. I just need to figure out what I did wrong there.

Thanks for your responses and help. All working very well now.

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

This forum was archived on 2017-11-26.