There are several methods to uninstall MageFlowConnector extension (MFX – shortly)
Uninstall MFX via Magento Connect Manager
Navigate to Magento Connect Manager from the admin: System -> Magento Connect -> Magento Connect Manager
Find MageFlowConnector extension from the list, select “Uninstall” from the dropdown and click “Commit”.
Uninstall MFX by using mage tool from command line
Log in to your server’s shell.
In your Magento folder execute following command:
./mage uninstall community MageFlowConnector
Uninstall MFX by using modman
MageFlowConnector extension can be installed by using modman. Modman clones MFX Git repository to your Magento folder.
In order to remove MFX with modman execute following command:
modman remove extension
Uninstall MFX by deleting files manually
In order to remove MageFlowConnector manually log in to your Magento server. Remove following files and directories with their contents:
rm -rf app/code/community/Mageflow/Connect rm -rf app/design/adminhtml/default/default/layout/mageflow/connect rm -rf app/design/adminhtml/default/default/template/connect rm -rf app/design/frontend/base/default/layout/mageflow/connect rm -rf app/design/frontend/base/default/template/mageflow/connect rm app/etc/modules/Mageflow_Connect.xml rm -rf js/mageflow/connect rm -rf lib/Mageflow/Connect rm shell/create_backend_user.php rm shell/create_oauth_consumer.php rm shell/last_access_time.php rm shell/media_indexer.php rm -rf skin/adminhtml/default/default/mageflow/connect rm var/package/MageFlowConnector-<version_number>.xml
Cleaning up database
Caution! Always make a backup of your database before any such operations!
MageFlow database table names start with mageflow_. Delete these tables.
Columns (especially mf_guid) are added by installation to several Magento entity tables in database but these won’t do anything if MFX is not installed. So these columns can just be there.
You may also need to remove mf_guid attribute:
DELETE FROM `eav_attribute` WHERE attribute_code = 'mf_guid';
After uninstalling the Mageflow Conector if you then try to reinstall it you might get a message similar to the below:
SQLSTATE[42S02]: Base table or view not found: 1146 Table '[databasename].mageflow_performance_history' doesn't exist, query was: DESCRIBE `mageflow_performance_history`";i:1;s:2893:"#0 /home/[magentoinstall]/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110):Zend_Db_Statement_Pdo->_execute(Array)
To fix this delete the mageflow entry from Magento’s core_resource table.
This will allow the extension to recreate the necessary database tables.