enter image description here

[ERROR] exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1025 Error on rename of '.\magento12#sql-29a8_39' to '.\magento12\catalog_product_entity_media_gallery_value' (errno: 13 "Permission denied")' in D:\xampp\htdocs\Magento12\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:228 Stack trace: #0

  • Give Permission to vendor Commented Mar 24, 2017 at 7:33
  • can you provide more details on your setup environment ?
    – Franc
    Commented Mar 24, 2017 at 7:39
  • incorrect user rights
    – MagenX
    Commented Mar 24, 2017 at 8:01

1 Answer 1


Installed the xampp with full administrator rights and disabled the antivirus. It worked for me .

  • I have installed xampp, how can i give full permission?
    – Gem
    Commented Apr 20, 2018 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.