https://wiki.mahara.org/api.php?action=feedcontributions&user=Roggiero&feedformat=atomMahara Wiki - User contributions [en-gb]2024-03-29T09:23:24ZUser contributionsMediaWiki 1.35.10https://wiki.mahara.org/index.php?title=Plugins/Artefact/My_Learning/Uninstalling&diff=2019Plugins/Artefact/My Learning/Uninstalling2011-06-28T16:30:03Z<p>Roggiero: </p>
<hr />
<div><div id="pageText" class="pageText"><br />
<br />
For uninstalling plug-in you need admin access to your mahara root directory and to your MySQL or PostgreSQL database. I use MySQL database and SQLyog (which is a GUI for working with MySQL database - see images below).<br />
<br />
'''NB:''' All tables in my database have '''mhr_''' prefix, so in attached images you'll see all tables with '''mhr_''' prefix!<br />
<br />
To uninstall My Learning plug-in, follow these simple steps:<br />
<br />
# Connect to your database (MySQL or PostgreSQL)<br /> <br />
# Delete all lines from table '''blocktype_installed_viewtype''', which contain '''learningstyles''' or '''multipleintelligences'''. Use appropriate SQL sentences:<br /><br /><code>DELETE FROM blocktype_installed_viewtype WHERE blocktype='learningstyles';<br /> DELETE FROM blocktype_installed_viewtype WHERE blocktype='multipleintelligences';</code><br /> <br />
# Delete all lines from table '''blocktype_installed_category''', which contain '''learningstyles''' or '''multipleintelligences'''. Use appropriate SQL sentences:<br /><code><br /> DELETE FROM blocktype_installed_category WHERE blocktype='learningstyles';<br /> DELETE FROM blocktype_installed_category WHERE blocktype='multipleintelligences';</code><br /> <br />
# Delete all lines from table '''blocktype_installed''', which contain '''learningstyles''' or '''multipleintelligences'''. Use appropriate SQL sentences:<br /><code><br /> DELETE FROM blocktype_installed WHERE name='learningstyles';<br /> DELETE FROM blocktype_installed WHERE name='multipleintelligences';</code><br /> <br />
# Delete all lines from table '''artefact''', which contain '''learningstyles''' or '''multipleintelligences'''. Use appropriate SQL sentences:<br /><code><br /> DELETE FROM artefact WHERE artefacttype='multipleintelligences';<br /> DELETE FROM artefact WHERE artefacttype='learningstyles';</code><br /> <br />
# Delete all lines from table '''artefact_installed_type''', which contain '''learning'''. Use appropriate SQL sentence:<br /><code><br /> DELETE FROM artefact_installed_type WHERE plugin='learning';</code><br /> <br />
# Delete all lines from table '''artefact_installed''', which contain '''learning'''. Use appropriate SQL sentence:<br /><code><br /> DELETE FROM artefact_installed WHERE name='learning';</code><br />
<br />
</div><br />
<br />
All this can be also acomplished just by using SQLyog or similar GUI - please see the attached pictures below.<br />
<br />
Sorry, I don't know any GUI to use with PostgreSQL (since I don't use it).<br />
<br />
===Files===<br />
<br />
*[[File:Artefact.png]]<br />
*[[File:Artefact_installed.png]]<br />
*[[File:Artefact_installed_type.png]]<br />
*[[File:Blocktype_installed.png]]<br />
*[[File:Blocktype_installed_category.png]]<br />
*[[File:Blocktype_installed_viewtype.png]]<br />
[[Category:Plugins]]</div>Roggiero