> -----Ursprüngliche Nachricht-----
> Von: Wechsler, Steven [mailto:Steven.Wechsler@stripped]
> Gesendet: Montag, 31. März 2008 23:14
> I get the above error whenever I try to call a stored procedure using
> DBI with DBD::MySQL. The exact message is:
>
> DBD::mysql::st execute failed: PROCEDURE <procname> can't return a
> result set in the given context at /dba/steve/scripts/run_sql.pl line
> 517, <FILE> line 2.
>
> Here is the connect string:
>
> $dsn =
> DBI:mysql:database=<dbname>;host=<hostname>;port=3316;mysql_mu
> lti_result
> s=1
> DBI->connect($dsn, $login, $password,
> {PrintError => 1, AutoCommit => 1,
> syb_err_handler =>
> \&message_handler } )
>
>
> DBD::mysql version is 3.0007
It may be hard to tell for anyone not knowing the stored procedure that you
try to call, and not knowing the "given context" that is, in fact, not
given.
On a side note, are you sure you want a syb_err_handler for a MySQL
connection?
\Gisbert