SilverStripe is a open source content management system(CMS) to create and
maintain website, it is currently published to the OpenSolaris /contib repository.

Installation of SilverStripe on OpenSolaris is straightforward by simply clicking
the installation button on the silverstrip's 'install.php' page,
however, the installation didn't work complaining with mysql query
execution failed:

"[User Error] Couldn't run query: SELECT `SiteTree_Live`.*,
`GhostPage_Live`.*, `ErrorPage_Live`.*, `RedirectorPage_Live`.*,
`VirtualPage_Live`.*, `SiteTree_Live`.ID,
if(`SiteTree_Live`.ClassName,`SiteTree_Live`.Class Name,'SiteTree') AS
RecordClassName FROM `SiteTree_Live` LEFT JOIN `GhostPage_Live` ON
`GhostPage_Live`.ID = `SiteTree_Live`.ID LEFT JOIN `ErrorPage_Live`
ON `ErrorPage_Live`.ID = `SiteTree_Live`.ID LEFT JOIN
`RedirectorPage_Live` ON `RedirectorPage_Live`.ID =
`SiteTree_Live`.ID LEFT JOIN `VirtualPage_Live` ON
`VirtualPage_Live`.ID = `SiteTree_Live`.ID WHERE
(`SiteTree_Live`.`ParentID` = 1 AND `SiteTree_Live`.ID != 1 AND
ShowInMenus = 1) ORDER BY Sort Lost connection to MySQL server during

Running the same query within the MySQL client get the error of MySQL server

ERROR 2013 (HY000): Lost connection to MySQL server during query

It was caused by MySQL's bug: #44538 , the same problem as Joomlar! with MySQL explained
clearly in Georg's blog. To solve this problem, I enabled the 64-bit MySQL service
on OpenSolaris:

svccfg -s mysql:version_51 setprop mysql/enable_64bit=true
svcadm refresh mysql:version_51
svcadm restart mysql:version_51

The SilverStripe installation succeed without the problem after using the
64-bit MySQL 5.1.