mysql with 1.9.2 query: wrong argument tile Mysql (expected Struct) TypeError

Discussion in 'Ruby' started by Love4llamas, Oct 13, 2011.

  1. Love4llamas

    Love4llamas Guest

    Using rvm, this works fine in 1.8.7 but fails in 1.9.2 with query:
    wrong argument tile Mysql (expected Struct) TypeError

    require 'mysql'

    mysql_connection = Mysql::new(@mysql_host, @mysql_user,
    @mysql_password, @mysql_db)
    mysql_connection.query("delete from mytable")
    mysql_connection.close

    Any suggestions would be appreciated!
    Love4llamas, Oct 13, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Fogelklou
    Replies:
    36
    Views:
    1,355
    Chris Fogelklou
    Apr 20, 2004
  2. shawn a

    TypeError: no arguments expected

    shawn a, Dec 12, 2005, in forum: Python
    Replies:
    6
    Views:
    307
    shawn a
    Dec 12, 2005
  3. M.-A. Lemburg
    Replies:
    0
    Views:
    1,161
    M.-A. Lemburg
    Oct 31, 2008
  4. Tim Kynerd
    Replies:
    12
    Views:
    266
    Yukihiro Matsumoto
    Nov 28, 2003
  5. Replies:
    0
    Views:
    183
Loading...

Share This Page