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

L

Love4llamas

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!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top