Zend certified PHP/Magento developer

Replace image urls in db

i try to update re image urls directly on db. In many of them (1700+) is missing the “/” at the begining.

i try with this sql file

ALTER TABLE 'catalog_product_entity_media_gallery' MODIFY COLUMN 'value';



REPLACE INTO 'catalog_product_entity_media_gallery' ('value_id', 'attribute_id', 'value', 'media_type', 'disabled') VALUES
(13584, 88, '/o/m/om-5e_1_2nd.png', 'image', 0);

but i get syntax error

any suggestion?