title: How To get database Tables list in go language (SHOW TABLES)
body: <p>I have a problem with getting database table list (SHOW TABLES) in go lang</p>
  <p>I use this packages</p>
  <blockquote>
  <p>database/sql</p>
  <p>gopkg.in/gorp.v1</p>
  <p>github.com/ziutek/mymysql/godrv</p>
  </blockquote>
  <p>and connect to MYSQL by this code:</p>
  <pre><code>db, err := sql.Open(
      &quot;mymysql&quot;,
      &quot;tcp:127.0.0.1:3306*test/root/root&quot;)
  if err != nil {
      panic(err)
  }
  
  dbmap := &amp;DbMap{Conn:&amp;gorp.DbMap{Db: db}}
  </code></pre>
  <p>And I use this code to get list of tables</p>
  <pre><code>result, _ := dbmap.Exec(&quot;SHOW TABLES&quot;)
  </code></pre>
  <p>But result is empty!</p>