Commit Graph

9 Commits

Author SHA1 Message Date
dompie
3c09e9dfc4 ENH: Some webhosters require username/password credentials to test for
existing DB server
2012-01-11 16:05:19 +01:00
Ingo Schommer
b839ab2b9f BUGFIX MySQLDatabaseConfigurationHelper::getVersion() will fallback to trying to get the version using a query if mysql_get_server_info() returns nothing (from r106071)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112512 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:54:18 +00:00
Ingo Schommer
74036f9642 ENHANCEMENT Added MySQLDatabaseConfigurationHelper::getDatabaseVersion() which abstracts the version number away from the version check the installer requires (from r105712)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112501 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:50:06 +00:00
Ingo Schommer
cf4a722cc8 MINOR Show better message if couldn't find MySQL version in MySQLDatabaseConfigurationHelper (from r105516)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112499 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:49:35 +00:00
Ingo Schommer
8ea659be69 ENHANCEMENT Added MySQLDatabaseConfigurationHelper::requireDatabaseVersion() to check whether the connected instance is using version 5.0+ (from r104706)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112375 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:10:10 +00:00
Ingo Schommer
dd8d0c1259 MINOR Fixed undefined variable $error in MySQLDatabaseConfigurationHelper (from r100550)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@105602 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 04:17:35 +00:00
Ingo Schommer
e4eca9c7c8 MINOR Fixed phpdoc documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@103415 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-23 03:26:32 +00:00
Ingo Schommer
e89e377cb6 MINOR Removed return of connection and changed variables to conincide with r98795 (from r98800)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:44:38 +00:00
Ingo Schommer
618328ace7 API CHANGE Installer now uses a database configuration helper class which isolates the logic of checking the database away from the installer, this interface can be used by other databases like MSSQL and PostgreSQL. The installer now looks for a specific file inside each database module, provided it's configured in install.php MySQL is provided by default, as it lives in sapphire (from r98786)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:32:30 +00:00