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) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Linking CiviCRM to a MySQL database? Evaluation help?
Pages: [1]

Author Topic: Linking CiviCRM to a MySQL database? Evaluation help?  (Read 1856 times)

ivor_b

  • Guest
Linking CiviCRM to a MySQL database? Evaluation help?
September 27, 2010, 06:26:40 am
By the usual process of small charity crisis management, our ailing Access 2 membership database is in the process of being replaced with a shiny online MySQL database and a JQuery/PHP web front end, allowing both our administrator and members the ability to update and edit details online. My medium-term plan for about a year has been to migrate to CiviCRM in order to bring far greater functionality to our organisation, a small charity & NFP supporting directors in film, tv and theatre in the UK (http://www.dggb.org).

Our friendly and long-suffering database expert has had a quick look at Civi (w. Drupal) and is worried that importing the database over to Civi will lose much of the existing functionality because of the way Drupal handles data; i.e. the user is viewing a page rather than, as at the moment, a database form, and the rather clever versioning that's built in now will be lost (every instance of a change to the data is saved and viewable).

So - without the technical knowledge to read the "Big Book of Civi" (sorry, I'm an analyst pure and simple and my programming ability is limited to "printscreen DLROW OLLEH") - is this: Is it possible to link Civi CRM data requirements directly to our external SQL database, or must it always use its own proprietary dataset? And if the latter is the case, is there a way to link the two datasets (not ideal but a possible solution)?

I'd be enormously grateful for input from anyone who feels they can help out with an answer to this; we are not a "cash-rich" charity and help would be enormously appreciated - especially from someone who might consider doing a "Move to Civi" evaluation.

Ivor Benjamin
Chair/Trustee
DGGB/Directors Guild Trust

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: Linking CiviCRM to a MySQL database? Evaluation help?
September 27, 2010, 06:37:09 am

1. In CiviCRM (and in most web apps), you "view" a database record as a page and you edit the record via a (html) form. It should be similar to your current flow

2. You can write custom code to link CiviCRM with external datasets / tables. CiviCRM basically manages data stored in its own mysql tables (which are not proprietary by any means!)

lobo

p.s> since u r in the UK, u / your db analyst might be interested in our user or developer training:

http://civicrm.org/civicrm/event/info?reset=1&id=65
http://civicrm.org/civicrm/event/info?reset=1&id=66

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

ivor_b

  • Guest
Re: Linking CiviCRM to a MySQL database? Evaluation help?
September 27, 2010, 11:47:22 am
Thanks, Donald - yes, I did know CiviCRM created its own SQL db - by proprietary I meant specific to.

I think linking is probably the way we would go with the membership data so as to retain use of other functionalities; can you please point me at any documentation for how to do that?

And do you think it would it work to link to the membership data externally and allow CiviCRM to use it's own db for things like events, payments, etc.?

Sadly, at the moment we don't have enough money to send our db expert on a course - nor do I think he would have the time to build a full Civi implementation for us.  :(

Regards,

Ivor B.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
May the book be with you
September 27, 2010, 12:54:30 pm
Hi,

You should have a second look at the book, beside containing the one and only truth ;) it's *hopefully* readable without having a big technical knowledge (there is only one section for nerds).


http://en.flossmanuals.net/CiviCRM/MembershipPlanning
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

FrTommy

  • I post frequently
  • ***
  • Posts: 273
  • Karma: 2
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.32
  • PHP version: 5.3
Re: Linking CiviCRM to a MySQL database? Evaluation help?
September 27, 2010, 04:35:03 pm
Sounds like Civi would be a perfect fit for you if you just imported your data into it and used it. The only feature that you mention that isn't currently in Civi is the versioning but that is in the works and should be implemented in the next few versions.

I'd stick around and keep watch on it...or maybe even go ahead and install a "testing system" where you could play around with it and learn it's features so by the time the versioning is implemented you'd be ready to go with a live install.

ivor_b

  • Guest
Re: Linking CiviCRM to a MySQL database? Evaluation help?
September 28, 2010, 03:01:43 pm
Tommy - please can you tell me more about how versioning is going to be implemented?

Will it mean that we can have the system we're setting up now, where every instance of a change made by a member to their details (especially show and film credits) is archived, so they can roll back changes if the mess up an update?

One of the reasons we've not jumped straight to Civi (apart from cost) is that Civi doesn't seem to have a way of building in members' credits. Pretty much everything else can be done with links between entities or custom flags on the entities (forgive me if I'm not using correct Civi parlance, but hopefully YKWIM :-)

And can anyone think of a reason why (assuming it's all running on the same server somewhere) it is better to have the data in the CiviCRM database than in an external one one with links? Apart from the complexity of setting up the links...

Best,

Ivor B.

FrTommy

  • I post frequently
  • ***
  • Posts: 273
  • Karma: 2
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.32
  • PHP version: 5.3
Re: Linking CiviCRM to a MySQL database? Evaluation help?
September 29, 2010, 08:55:32 pm
Ivor,

Take a look at  http://civicrm.org/blogs/shot/upcoming-feature-logging   It explains it better than I ever could.

I think it will do what you are wanting.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • General Discussion (please no support requests here!) (Moderator: Michał Mach) »
  • Linking CiviCRM to a MySQL database? Evaluation help?

This forum was archived on 2017-11-26.