PDA

View Full Version : Roundcube need innodb but mysql doesn't compile to support it.



winggundamth
02-05-2009, 09:56 PM
My environment is
- FreeBSD 7.1
- CustomBuild 1.2.11
- MySQL 5.1

I have a problem that I can use all webmail except roundcube that showing an error and doesn't show login page.

I found that roundcube is use innodb as database engine and mysql doesn't compile to support it.

Solution: change /usr/local/directadmin/custombuild/build line 2338 from


--enable-static \

to


--enable-static --with-innodb \

then run this command


# delete old roundcube and da_roundcube database
rm -rf /home/mysql/da_roundcube
rm -rf /var/www/html/roundcube*
# compile and install mysql 5.1 to support innodb
cd /usr/local/directadmin/custombuild/
./build mysql
# then run roundcube install script again
./build roundcube