# Re: Migrate a phpBB3 forum to Discourse

**URL:** <https://meta.discourse.org/t/re-migrate-a-phpbb3-forum-to-discourse/300233>\
**Category:** Migration\
**Created:** [March 20, 2024, 7:12pm UTC](https://meta.discourse.org/t/re-migrate-a-phpbb3-forum-to-discourse/300233 "2024-03-20T19:12:13Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![JPD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jpd/32/371816_2.png) [@JPD](https://meta.discourse.org/u/JPD)\
**Post date:** [March 21, 2024, 10:38pm UTC](https://meta.discourse.org/t/re-migrate-a-phpbb3-forum-to-discourse/300233/12 "2024-03-21T22:38:16Z")

</div>

I eventually used the dump from phpMyAdmin. Is there any example (or some more detailed specs) how to create the mapping sections in the (import) settings.yml?  
My php\_forums table looks like the following:

```plaintext
forum_id, MEDIUMINT(8) ...	parent_id, MEDIUMINT(8) ...
3	0
8	3
7	3
9	3
10	3
11	0
12	11
13	11
14	11
15	11
17	3

```

It seems that whichever ids I use and no matter whether I also specify the “new\_categories: ” section, the message generated by the import container is ok:  
creating new categories  
11 / 11 (100.0%) [2803 items/min] n]  
creating categories  
11 / 11 (100.0%) [2704 items/min]

but what is created are two main categories (that were “forums” in the phpBB with the parent\_id 0) and one empty subcategory in each one of them. The procedure does import all posts but they are all "orphaned’.

---

_[View the full topic](https://meta.discourse.org/t/re-migrate-a-phpbb3-forum-to-discourse/300233)._
