# Mybb.rb imports nothing

**URL:** https://meta.discourse.org/t/mybb-rb-imports-nothing/42070
**Category:** Migration
**Tags:** mybb
**Created:** [5 april 2016 om 14:50 UTC](https://meta.discourse.org/t/mybb-rb-imports-nothing/42070 "2016-04-05T14:50:25Z")
**Posts on this page:** 1
**Showing post:** 21

<div class="post-metadata">

### Author: ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)
#### Post date: [31 juli 2017 om 18:55 UTC](https://meta.discourse.org/t/mybb-rb-imports-nothing/42070/21 "2017-07-31T18:55:35Z")

</div>

> [@pfaffman](#):
>
> ocal machine?

I have 2 droplet on Digital Ocean. One for my main site. (Mybb) One for Discourse. I am working my Discourse droplet now.

I did these things:

Create droplet.  
Install Discourse.  
Create admin user, use install wizard.  
Create database backup from the Mybb.  
Install mysql server 5.7 for Discourse’s droplet.  
Create database for Discourse’s droplet.  
Transfer old database to new like that. (Discourse’s droplet)  
`mysql -uroot -p oldddb < newdb.sql`  
Check database, it’s ok. The operation is successful. The tables are transferred.

After, I followed the procedures @precessor mentioned:  
cd /var/discourse/  
./launcher enter app  
apt-get update  
apt-get install libmysqlclient-dev nano  
gem install mysql2  
su - discourse  
cd /var/www/discourse/script/import\_scripts  
bundle install

```
nano mybb.rb
RAILS_ENV=production ruby mybb.rb

```

And I got the output I shared…

---

_[View the full topic](https://meta.discourse.org/t/mybb-rb-imports-nothing/42070)._
