Append “mysql_client_multi_results=1” to your DSN, like this:
@dbh =
DBI.connect(“DBI:Mysql:database=mydatabase;host=localhost;mysql_client_multi_results=1”,
“root”, “password”)
Append “mysql_client_multi_results=1” to your DSN, like this:
@dbh =
DBI.connect(“DBI:Mysql:database=mydatabase;host=localhost;mysql_client_multi_results=1”,
“root”, “password”)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs