Koozali.org: home of the SME Server

Solved - Moodle 2x and InnoDB

Offline bloodshoteye

  • ****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Solved - Moodle 2x and InnoDB
« on: March 25, 2011, 09:50:59 AM »
Hi All,

Using SME 8.0 beta 6, fully patched:
I put Moodle into an ibay and configured a subdomain (URL is http://moodle.domain.tld)
All seems fine, can access via LAN and WAN.
My question is a notification Moodle is making about InnoDB compared to MyISAM:
Quote
Database tables are using MyISAM database engine, it is recommended to use ACID compliant engine with full transaction support such as InnoDB.
If I enable the InnoDB engine (obviously also re-installing Moodle) as per [[http://wiki.contribs.org/MySQL#Enable_InnoDB_engine]], will other existing MyISAM databases on the same box be affected?

Cheers,
« Last Edit: March 25, 2011, 04:01:30 PM by dishwasher »
SME Server is a fantastic product - thank you!

Offline bloodshoteye

  • ****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Moodle 2x and InnoDB
« Reply #1 on: March 25, 2011, 04:01:00 PM »
Replied to self:

Quote
To convert a non-InnoDB table to use InnoDB use ALTER TABLE:
ALTER TABLE t1 ENGINE=InnoDB;
Important
Do not convert MySQL system tables in the mysql database (such as user or host) to the InnoDB type. This is an unsupported operation. The system tables must always be of the MyISAM type.
This is from the following authoritative website: http://dev.mysql.com/doc/refman/5.0/en/converting-tables-to-innodb.html
Thus individual DBs can be converted leaving other existing tables as they are. If you want to.

Cheers,
SME Server is a fantastic product - thank you!

Offline kwak

  • 13
  • +0/-0
    • http://www.aimschool.ac.th
Re: Solved - Moodle 2x and InnoDB
« Reply #2 on: April 26, 2011, 05:51:50 PM »
Hi,

Have you manage to install INTL  (php-intl)?

Kwak

Offline bloodshoteye

  • ****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Solved - Moodle 2x and InnoDB
« Reply #3 on: April 26, 2011, 06:49:02 PM »
Hi,
Have you manage to install INTL  (php-intl)?
Kwak

I don'y remember installing that, so I did
Quote
# yum list installed
- not installed.

Cheers.
SME Server is a fantastic product - thank you!

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
Re: Solved - Moodle 2x and InnoDB
« Reply #4 on: December 12, 2011, 07:16:53 AM »
How did you place moodle into an IBay. Did you install into an IBay? Please explain.
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline bloodshoteye

  • ****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: Solved - Moodle 2x and InnoDB
« Reply #5 on: December 12, 2011, 07:46:09 AM »
How did you place moodle into an IBay. Did you install into an IBay? Please explain.
Far as I recall I simply expanded the tar.gz file in the IBay and followed Moodle's instructions. Also you must set:
Code: [Select]
db accounts setprop <IBay_name> PHPBaseDir /home/e-smith/files/ibays/<IBay_name>/html/:/tmp/
signal-event ibay-modify <IBay_name>
For secure Moodle data set:
Code: [Select]
db accounts setprop <IBay_name> PHPBaseDir /home/e-smith/files/ibays/<IBay_name>/html/:/opt/moodledata/
signal-event ibay-modify <IBay_name>
You will need to make sure the Moodle config file is also set for secure data.

I offer no assurances I am correct as I'm relying on my forgettery.
Cheers
SME Server is a fantastic product - thank you!