Results 1 to 4 of 4

Thread: Problems with MySQL database

  1. #1
    Koen Jansen is offline Member
    Join Date
    Mar 2011
    Posts
    5

    Default Problems with MySQL database

    Dear reader,

    Yet again, I did something stupid.
    I discovered that some relationships in our SugarCRM Custom Modules were not correctly applied, so I just uninstalled the package I created and accidentaly left the settings on "remove all tables". When I changed the relationships and deployed the module again, all records in our custom modules were deleted. The records in our standard modules are still intact.

    I've got 2 questions (or problems) on which I hope you can help me.

    The first one is:
    Is it possible to retrieve the information from the custom modules from the MySQL database without having a backup file?

    The second one is:
    When I try to create a new record in the custom modules I get the following error:

    Database failure. Please refer to sugarcrm.log for details.

    And subsequently in the log:

    Mon Apr 25 17:24:33 2011 [30660][b318e419-dc3a-6d63-7c7b-4d7f65131d31][FATAL] Retrieving record by id z_ya1_houses:9541318f-2bc3-21c7-41d3-4db5929fdcc7 found Query Failed: SELECT z_ya1_houses.*,z_ya1_houses_cstm.* FROM z_ya1_houses LEFT JOIN z_ya1_houses_cstm ON z_ya1_houses.id = z_ya1_houses_cstm.id_c WHERE z_ya1_houses.id = '9541318f-2bc3-21c7-41d3-4db5929fdcc7' AND z_ya1_houses.deleted=0 LIMIT 0,1: MySQL error 1146: Table 'zimmocom_scrm1.z_ya1_houses_cstm' doesn't exist

    I really hope someone can help me with it.

    Thanks for your attention and time.

    With kind regards,

    Koen Jansen

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Problems with MySQL database

    No good news:

    1) There is NO possibility to recover deleted database tables without a backup. NEVER - really NEVER run your server without backups!

    2) You extended your custom module z_ya1_houses by one or more custom fields. Just define one custom field in Studio and the problem should be solved.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    ashish.malik2006 is offline Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default Re: Problems with MySQL database

    i have been having trouble installing sugarCRM.initially there were username issues but they were resolved.nw i am getting an error msg "Database failure. Please refer to sugarcrm.log for details."
    and the sugarcrm.log says "06/22/11 11:05:15 [1096][-none-][FATAL] Unable to retrieve system settings Query Failed: SELECT category, name, value FROM config: MySQL error 1146: Table 'sugarcrm.config' doesn't exist"
    i have not been able to reach the login page even once yet.

    please help

  4. #4
    ashish.malik2006 is offline Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default Re: Problems with MySQL database

    [QUOTE=kuske;249258]
    plz help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 2009-11-06, 07:39 AM
  2. No MySQL Database available
    By FainLynn in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2007-10-03, 09:47 PM
  3. Mysql database not available
    By umer in forum General Discussion
    Replies: 1
    Last Post: 2007-07-20, 10:49 PM
  4. MySQL Database not Available
    By tomred in forum General Discussion
    Replies: 2
    Last Post: 2006-08-21, 01:46 PM
  5. MySQL Database Not Available
    By vidtechsteve in forum Help
    Replies: 0
    Last Post: 2005-12-28, 12:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •