eZ Publish  [trunk]
ezconvertmysqltabletype.php File Reference

Go to the source code of this file.

Variables

 $cli = eZCLI::instance()
 $database = $options['database']
 $db = connectToDatabase( $cli, $script, $host, $user, $password, $database )
 $host = $options['host']
 $listMode = $options['list']
 $newType = "newtype"]
 $options
 $password = ""
 $script
 $usecopy = "usecopy"]
 $user = $options['user']

Variable Documentation

$cli = eZCLI::instance()

Definition at line 14 of file ezconvertmysqltabletype.php.

$database = $options['database']
$db = connectToDatabase( $cli, $script, $host, $user, $password, $database )

Definition at line 49 of file ezconvertmysqltabletype.php.

$listMode = $options['list']

Definition at line 44 of file ezconvertmysqltabletype.php.

$newType = "newtype"]

Definition at line 45 of file ezconvertmysqltabletype.php.

$options
Initial value:
 $script->getOptions( "[host:][user:][password:][database:][list][newtype:][usecopy]",
                                "",
                                array(
                                       'list' => "List the table types",
                                       'host' => "Connect to host database",
                                       'user' => "User for login to the database",
                                       'password' => "Password to use when connecting to the database",
                                       'newtype' => "Convert the database to the given type.\nType can either be: myisam or innodb\n".
                                                    "Make sure that you have made a BACKUP UP of YOUR DATABASE!",
                                       'usecopy' => "To convert the table we rename the original table and copy the data to the new table structure.\n".
                                                    "This conversion method is much slower and has a higher risk to corrupt the data in the database.\n".
                                                    "However this option may circumvent the MySQL crash on the ALTER query." )
                              )

Definition at line 24 of file ezconvertmysqltabletype.php.

Initial value:
 eZScript::instance( array( 'description' => ( "eZ Publish Database Converter\n\n" .
                                                        "Convert the database to the given type\n".
                                                        "ezconvertmysqltabletype.php [--host=VALUE --user=VALUE --database=VALUE [--password=VALUE]] [--list] [--newtype=TYPE] [--usecopy]" ),
                                     'use-session' => false,
                                     'use-modules' => false,
                                     'use-extensions' => true ) )

Definition at line 15 of file ezconvertmysqltabletype.php.

$usecopy = "usecopy"]

Definition at line 46 of file ezconvertmysqltabletype.php.

$user = $options['user']

Definition at line 40 of file ezconvertmysqltabletype.php.

Referenced by eZDefaultShopAccountHandler\accountInformation(), eZDefaultShopAccountHandler\accountName(), eZUserOperationCollection\activation(), eZCollaborationItemMessageLink\addMessage(), eZContentObject\allowedAssignStateIDList(), eZContentObject\allowedAssignStateList(), eZSubTreeHandler\attribute(), eZWebDAVContentBackendAuth\authenticateBasic(), eZUser\authenticateHash(), eZWebDAVContentBackendAuth\authorize(), ezpRestClient\authorizeFor(), eZContentObject\cacheInfo(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentObjectTreeNode\canEdit(), eZContentObject\canEdit(), eZContentClass\canInstantiateClassList(), eZOrder\canModifyStatus(), eZContentObject\canTranslate(), eZContentObjectVersion\checkAccess(), eZContentObject\checkAccess(), eZContentObjectTreeNode\checkAccess(), eZUserOperationCollection\checkActivation(), eZSubtreeNotificationRule\checkObjectAccess(), eZPackageCreationHandler\checkPackageMaintainer(), checkTimeout(), eZUserLoginHandler\checkUser(), eZContentObject\classListFromPolicy(), eZContentObjectTreeNode\classListFromPolicy(), eZMySQLDB\connect(), eZMySQLiDB\connect(), eZPostgreSQLDB\connectString(), eZContentObject\copy(), eZContentObject\copyVersion(), eZCollaborationSimpleMessage\create(), eZRSSImport\create(), eZInformationCollection\create(), eZContentObjectVersion\create(), eZBasket\createOrder(), eZContentObjectTreeNode\createPermissionCheckingSQL(), eZUser\currentUser(), eZUser\currentUserID(), eZInformationCollection\currentUserIdentifier(), eZWishList\currentWishList(), databaseCleanup(), dfsCleanup(), eZDiscount\discountPercent(), eZWishList\discountPercent(), eZDefaultShopAccountHandler\email(), eZHTTPHeader\enabled(), eZApproveType\execute(), eZMultiplexerType\execute(), eZDBInterface\eZDBInterface(), eZPostgreSQLDB\eZPostgreSQLDB(), eZTriedDatabaseString(), eZContentFunctionCollection\fetchBookmarks(), eZUserFunctionCollection\fetchCurrentUser(), eZSubTreeHandler\fetchHttpInput(), eZUserFunctionCollection\fetchMemberOf(), eZUserType\fetchObjectAttributeHTTPInput(), eZCollaborationFunctionCollection\fetchParticipant(), eZContentFunctionCollection\fetchRecent(), eZUserDiscountRule\fetchUserID(), eZUserFunctionCollection\fetchUserRole(), ezpRestAuthConfiguration\filter(), eZUserOperationCollection\forgotpassword(), eZUserType\fromString(), eZContentCacheManager\generateObjectViewCache(), eZUser\generateUserCacheForFile(), eZInformationCollection\generateUserIdentifier(), eZNodeviewfunctions\generateViewCacheFile(), eZVATManager\getUserCountry(), eZApproveCollaborationHandler\handleCustomAction(), eZShopOperationCollection\handleUserCountry(), eZUserFunctionCollection\hasAccessTo(), eZUserType\hasObjectAttributeContent(), eZContentClass\initializeCopy(), eZStepCreateSites\initializePackage(), eZPackageCreationHandler\initializePackageChangelog(), eZPackageCreationHandler\initializePackageInformation(), eZPackageCreationHandler\initializePackageMaintainer(), eZCollaborationProfile\instance(), eZDB\instance(), eZContentClass\instantiate(), ezpRestClient\isAuthorizedByUser(), eZCollaborationGroup\itemCount(), loadDatabaseSchema(), eZUser\loginSucceeded(), eZLDAPUser\loginUser(), eZTextFileUser\loginUser(), eZUser\loginUser(), eZUserType\metaData(), eZTopMenuOperator\modify(), Cpdf\o_encryption(), eZAuthorType\objectAttributeContent(), eZUserType\objectAttributeContent(), eZSubtreeSubscriptionType\onPublish(), eZUserOperationCollection\password(), eZStepSiteAdmin\processPostData(), eZContentOperationCollection\publishNode(), eZLDAPUser\publishUpdateUser(), eZUser\removeUser(), eZCollaborationNotificationHandler\rules(), eZSubTreeHandler\rules(), eZSubTreeHandler\rulesCount(), eZScriptTrashPurge\run(), eZTrigger\runTrigger(), eZUserOperationCollection\sendActivationEmail(), eZSMTPTransport\sendMail(), eZUserOperationCollection\sendUserNotification(), eZUserType\serializeContentObjectAttribute(), eZUserSetting\setAttribute(), eZUser\setCurrentlyLoggedInUser(), eZGeneralDigestHandler\settings(), eZVATManager\setUserCountry(), eZPreferences\setValue(), eZOrder\statusModificationList(), eZPDFExport\store(), eZRSSExport\store(), eZRSSImport\store(), eZUserType\storeObjectAttribute(), eZGeneralDigestHandler\storeSettings(), eZSubTreeHandler\subscribedNodes(), eZCollaborationGroup\subTree(), eZUserType\title(), eZUserType\toString(), eZUserType\unserializeContentObjectAttribute(), eZSiteInstaller\updateContentObjectAttributes(), eZPreferences\value(), eZPreferences\values(), eZDefaultShopAccountHandler\verifyAccountInformation(), and eZAudit\writeAudit().