# Mybb.rb imports nothing

**URL:** <https://meta.discourse.org/t/mybb-rb-imports-nothing/42070>\
**Category:** Migration\
**Tags:** mybb\
**Created:** [April 5, 2016, 2:50pm UTC](https://meta.discourse.org/t/mybb-rb-imports-nothing/42070 "2016-04-05T14:50:25Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![precessor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/precessor/32/120664_2.png) [@precessor](https://meta.discourse.org/u/precessor)\
**Post date:** [April 7, 2016, 11:33am UTC](https://meta.discourse.org/t/mybb-rb-imports-nothing/42070/7 "2016-04-07T11:33:10Z")

</div>

Ah I see - in phpMyAdmin :facepalm: 😄  
Thanks for editing the queries for testing.  
In phpMyAdmin where the mybb forum resides, those queries work just fine! I get my correct count of users, the user list, post count, and posts list.  
So the queries look ok.

And, if I add `puts '', total_count` into mybb.rb, after that mysql query is executed, I see the correct result. So the query is working from remote as well.

 ![](https://global.discourse-cdn.com/meta/original/3X/3/b/3bf919ac0bcd1026d9cd87f4c4d5fd9b6f9f33c7.png)

---

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