Skip to content

Instantly share code, notes, and snippets.

@lklepner
lklepner / Instructions
Last active April 27, 2016 17:36 — forked from jonathonbyrdziak/Instructions
Magento installation on CentOS
#
# @author Jonathon byrd
#
############################################################
# first things first, set your iptables for a web server. If you jack these
# up you don't want to have to re-install your os after doing much more.
# @see http://www.thegeekstuff.com/2011/06/iptables-rules-examples/
# and
# @see https://help.ubuntu.com/community/IptablesHowTo

Removes the magento attribute values from the database

This is only part of the statement, you'll need to first delete the values, then delete the options associated with those values. The statement to delete the options is below this statement.

DELETE value FROM eav_attribute_option_value AS `value` 
INNER JOIN eav_attribute_option AS `options` 
ON options.option_id = `value`.option_id 
WHERE `options`.attribute_id = '139'

Delete attribute options