Snippets Collections
UPDATE wp_posts SET comment_status = 'closed'
WHERE comment_status = 'open' AND post_type = 'attachment'
SELECT  CONCAT('ALTER TABLE ',table_schema,'.', table_name, ' ENGINE=InnoDB;') AS sql_statements
FROM    information_schema.tables AS tb

WHERE 	table_schema NOT IN ('information_schema', 'sys', 'performance_schema','mysql')
AND     `ENGINE` = 'MyISAM'
AND     `TABLE_TYPE` = 'BASE TABLE'
ORDER BY table_schema, table_name;
star

Fri Oct 04 2024 10:37:27 GMT+0000 (Coordinated Universal Time)

##wordpress ##sql #phpmyadmin
star

Thu Oct 03 2024 21:49:44 GMT+0000 (Coordinated Universal Time)

##wordpress ##sql #phpmyadmin

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension