# Import data from Phorum

**URL:** <https://meta.discourse.org/t/import-data-from-phorum/40294>\
**Category:** Product Support\
**Created:** [February 28, 2016, 4:19pm UTC](https://meta.discourse.org/t/import-data-from-phorum/40294 "2016-02-28T16:19:53Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [March 10, 2016, 11:31pm UTC](https://meta.discourse.org/t/import-data-from-phorum/40294/13 "2016-03-10T23:31:56Z")

</div>

You need to enter the Docker container:

```bash
./launcher enter app

```

Then install the mysql2 gem…

```bash
apt-get update && apt-get install -y nano libmysqlclient-dev
cd /var/www/discourse
echo "gem 'mysql2'" >> Gemfile
su discourse -c 'bundle install --no-deployment --without test --without development --path vendor/bundle'

```

… configure the import script

```bash
nano script/import_scripts/phorum.rb

```

and execute the importer

```bash
su discourse -c 'bundle exec ruby script/import_scripts/phorum.rb'

```

---

_[View the full topic](https://meta.discourse.org/t/import-data-from-phorum/40294)._
