Results 1 to 2 of 2

Thread: DB engine for tables

  1. #1
    chrislynch8's Avatar
    chrislynch8 is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Cork, Ireland
    Posts
    747

    Default DB engine for tables

    Hi,

    Is it just my setup or do sugar use MyISAM for all tables except for teh accounts_cstm table. I had to restore a database recently and because the accounts_cstm was innodb and corrupt it by coping the backup in instead to using the ib_logfiles???

    With the MyISAM you can copy a file backup ie a rsync, cp of /var/lib/mysql/DB and it will work, with innodb table you have to restore in issue extra command, get a sqldump in recuew mode adn the restore that to the database.

    Is it possible to checge teh engine that the accounts_cstm table using without damaging the table, data and any other tables in the DB


    Rgds
    Chris
    Linkedin Profile:Chris Lynch

    FDC IT Solutions
    FDC House
    Wellington Road
    Cork
    Ireland

  2. #2
    stephanw is offline Senior Member
    Join Date
    Dec 2008
    Location
    Germany
    Posts
    22

    Default Re: DB engine for tables

    hello,

    this is related to your settings in mysql.
    it looks that your default engine is set to InnoDB.

    so when you create a custom table (via sugar), the default engine is choosen.

    to change this, you need to change the attributes in mysql.

    to change the type of the cstm table you can e.g. use phpmyadmin and change the engine in the point "operations".
    that is generating an "alter table" statement.

    hope that helped

    stephan
    www.niftybits.de

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2008-03-28, 01:17 PM
  2. SMS Engine
    By mohammedyahya in forum Feature Requests
    Replies: 0
    Last Post: 2008-03-01, 07:45 AM
  3. Replies: 0
    Last Post: 2008-01-28, 05:05 PM
  4. PDF reporting engine
    By developer16 in forum Developer Help
    Replies: 2
    Last Post: 2007-06-15, 02:38 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
  •