my $sth = $dbh->prepare("insert into foo(data) values (?);"); $sth->bind_param(1, $value, SQL_LONGVARBINARY); $sth->execute(); #### SQL type 1075548612 for 'rc' is not fully supported, bound as VARCHAR instead at ./1.0 line 122. #### $dbh->prepare("insert into foo(data) values (lo_import('/tmp/lame'));")