import MySQLdb

conn = MySQLdb.Connect(
    host='localhost', user='user',
    passwd='secret', db='test')
cursor = conn.cursor()
cursor.execute("SELECT this,that FROM foobar")
rows = cursor.fetchall()

I am unable to Implement The above code in golang 
Please suggest  

You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to