# Mybb.rb 不导入任何内容

**URL:** <https://meta.discourse.org/t/mybb-rb-imports-nothing/42070>\
**Category:** Migration\
**Tags:** mybb\
**Created:** [2016 年4 月 5 日 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:** 12

<div class="post-metadata">

作者： ![bekircem](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bekircem/32/44582_2.png) [@bekircem](https://meta.discourse.org/u/bekircem)\
发布日期： [2017 年7 月 30 日 22:41 UTC](https://meta.discourse.org/t/mybb-rb-imports-nothing/42070/12 "2017-07-30T22:41:56Z")

</div>

> [@precessor](#):
>
> RAILS\_ENV=production ruby mybb.rb

What would you recommend in this case?

```
loading existing groups...
loading existing users...
loading existing categories...
loading existing posts...
loading existing topics...
/usr/local/lib/ruby/gems/2.3.0/gems/mysql2-0.4.8/lib/mysql2/client.rb:89:in `connect': Access denied for user 'root'@'localhost' (using password: NO) (Mysql2::Error)
        from /usr/local/lib/ruby/gems/2.3.0/gems/mysql2-0.4.8/lib/mysql2/client.rb:89:in `initialize'
        from mybb.rb:31:in `new'
        from mybb.rb:31:in `initialize'
        from mybb.rb:304:in `new'
        from mybb.rb:304:in `<main>'

```

---

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