Title: database error when duplicate in localhost
Last modified: August 31, 2016

---

# database error when duplicate in localhost

 *  Resolved [Clark Gaybeul](https://wordpress.org/support/users/woubi/)
 * (@woubi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-duplicate-in-localhost/)
 * Hi,
    Everything went good but at Step 3, when I test the site, it’s impossible
   to login to my website in localhost and the site looks like it don’t have database
   access ! In the file installer-lox.txt, I have this : **ERROR** database error
   write ‘Table, etc… Don’t know how to fix it ? I upgrade Ubuntu 16.04 a few days
   before and installed LAMP. Many thanks
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Clark Gaybeul](https://wordpress.org/support/users/woubi/)
 * (@woubi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-duplicate-in-localhost/#post-7345059)
 * Should I use chown to change ownership ?
    After having run duplicator all my 
   files and folders had as owner www-data . Could this be a problem ? Thanks
 *  Thread Starter [Clark Gaybeul](https://wordpress.org/support/users/woubi/)
 * (@woubi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-duplicate-in-localhost/#post-7345182)
 * Solve it
    With Ubuntu, I edit etc/mysql/my.cnf and add [mysqld] port = 3306 sql_mode
   =NO_ENGINE_SUBSTITUTION at the end of my file.
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-duplicate-in-localhost/#post-7345333)
 * Awesome! I think that is on the FAQ page as well…
 * Cheers~

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘database error when duplicate in localhost’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-duplicate-in-localhost/#post-7345333)
 * Status: resolved