Disabling a plugin in Joomla 3.x from the command line can be done using the following steps:
Navigate to the root directory of your Joomla installation.
Type the following command to open the MySQL command prompt:
Replace username_database with the name of your Joomla database.
Type the following command to disable the plugin:
UPDATE `prefix_extensions` SET `enabled`='0' WHERE `type`='plugin' AND `element`='plugin_name';
Replace ‘plugin_name‘ with the name of the plugin you want to disable and ‘prefix_‘ with your mysql prefix
Refresh your Joomla website to confirm that the plugin has been disabled.
Note: Before making any changes to your website’s database, it’s recommended to make a backup of your website’s database and files.
mysqldump username_database > username_database_bk.sql
- Magento how to check whether SSL redirection is enabled using MySQL command line and disable it if needed
- How to change WordPress main URL to new one
- How to connect at MySQL database
- How to create database, database username and grant all rights on cPanel server via command line using UAPI
- How to recover Joomla 3+