# lokales Installationsskript: MySQL Fehler bei Installation

**URL:** <https://forum.shopware.com/t/lokales-installationsskript-mysql-fehler-bei-installation/2063>\
**Category:** Shopware 3.5\
**Tags:** installation--gettin\
**Created:** [7. März 2011 um 18:59 UTC](https://forum.shopware.com/t/lokales-installationsskript-mysql-fehler-bei-installation/2063 "2011-03-07T18:59:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielB](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@DanielB](https://forum.shopware.com/u/DanielB)\
**Post date:** [7. März 2011 um 18:59 UTC](https://forum.shopware.com/t/lokales-installationsskript-mysql-fehler-bei-installation/2063/1 "2011-03-07T18:59:54Z")

</div>

Hallo Forum, das Installationsskript mit Paket Shopware 3.5 mit Demodaten (Zend Optimizer) gab folgenden Fehler aus: Es ist einen Fehler beim Import der Datenbank aufgetreten: Duplicate entry ‚1‘ for key 1 – Dumping data for table `s_addon_premiums` – INSERT INTO `s_addon_premiums` (`id`, `startprice`, `ordernumber`, `articleID`, `subshopID`) VALUES (1, 250, ‚PR2047‘, ‚SW2001‘, 1), (3, 100, ‚PR2049‘, ‚SW2047‘, 1) Im Frontend erscheint diese Fehlermeldung: Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. SQLSTATE[28000] [1045] Access denied for user ‚www-data‘@‚localhost‘ (using password: NO) in Vendor/Zend/library/Zend/Db/Adapter/Pdo/Abstract.php on line 144 Stack trace: #0 Vendor/Zend/library/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend\_Db\_Adapter\_Pdo\_Abstract-\>\_connect() #1 Vendor/Zend/library/Zend/Db/Adapter/Abstract.php(315): Zend\_Db\_Adapter\_Pdo\_Mysql-\>\_connect() #2 Shopware/Bootstrap.php(48): Zend\_Db\_Adapter\_Abstract-\>getConnection() #3 [internal function]: Shopware\_Bootstrap-\>initDb() #4 Enlight/Bootstrap.php(99): call\_user\_func(Array) #5 Shopware/Bootstrap.php(12): Enlight\_Bootstrap-\>loadResource(‚Db‘) #6 Enlight/Application.php(69): Shopware\_Bootstrap-\>run() #7 shopware.php(6): Enlight\_Application-\>run() #8 {main} Weiß jemand Hilfe? Vielen Dank Daniel
