Home ›
Disable problem module through the database via command line mysqlDisable problem module through the database via command line mysql
Submitted by Benjamin Melançon on December 23, 2008 - 3:04pm
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2266274 bytes) in /var/www/example/profiles/scf/modules/contrib/devel/devel.module on line 1377
mysql -u example -ppassword -h agaric.example.edu
mysql> SHOW DATABASES;
mysql> USE example-dev;
mysql> SHOW TABLES;
mysql> SELECT name FROM system;
mysql> UPDATE system SET status=0 WHERE name='devel_themer';
Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Changed: 1 Warnings: 0
Reference
http://dev.mysql.com/doc/refman/5.0/en/update.html
Comments
Post new comment