# (Superseded) How to migrate / import from SMF2 to Discourse

**URL:** <https://meta.discourse.org/t/superseded-how-to-migrate-import-from-smf2-to-discourse/90129>\
**Category:** Migrating to Discourse\
**Tags:** migrations, how-to\
**Created:** [6월 18, 2018, 4:10오후 UTC](https://meta.discourse.org/t/superseded-how-to-migrate-import-from-smf2-to-discourse/90129 "2018-06-18T16:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cmwebdev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cmwebdev/32/122368_2.png) [@cmwebdev](https://meta.discourse.org/u/cmwebdev)\
**Post date:** [6월 18, 2018, 4:24오후 UTC](https://meta.discourse.org/t/superseded-how-to-migrate-import-from-smf2-to-discourse/90129/2 "2018-06-18T16:24:59Z")

</div>

Thanks for providing this. Maybe @marcozambi can use this for the guide he was planning to write after his successful import (including attachments)?

See here:

> [@SMF2 to discourse - Troubles importing attachments](https://meta.discourse.org/t/smf2-to-discourse-troubles-importing-attachments/89302/7):
>
> THIS. Many many thanks @cmwebdev !! In my previous attempts I had also set the connection request like that: Mysql2::Client.new(host: options.host, username: options.username, password: options.password, database: options.database, read\_timeout: 3600, write\_timeout: 3600, connect\_timeout: 3600, reconnect: true) but what definitively did the trick was to tune the mysql server configuration to maximise buffers and timeout…

Also can anybody from the Discourse team let us know what happened to the old topic that was a guide for SMF2 imports? I can no longer find it via search.

---

_[View the full topic](https://meta.discourse.org/t/superseded-how-to-migrate-import-from-smf2-to-discourse/90129)._
