Problem using placeholders
am 28.04.2004 09:55:46 von Lazar PaulHi All,
I have a server running Red Hat Linux 7.3 with
mysql-3.23.49-3,
perl-DBD-mysql-2.9003-1,
mysqlclient9-3.23.22-6,
perl-DBI-1.21-1 and
perl 5.6.1
I am making a mysql query in a perl script which uses placeholders (?),
when the script executes it gives the following error message in my apache
error log and an "INTERNAL SERVER ERROR" on the browser.
/usr/bin/perl: relocation error: /usr/lib/perl5/site_perl/5.6.1/i386-
linux/auto/DBD/mysql/mysql.so: undefined symbol: mysql_real_escape_string
[Wed Apr 28 13:03:57 2004] [error] Premature end of script
headers: /home/alpha/cgi-bin/domain/index.cgi
Example Code : select product from productmaster where productid=?;
I have tried upgrading MySql from the above version to mysql-3.23.58 but
the problem still persisted. Currently Iam using mysql-3.23.49-3.
It would be nice if someone could give a possible solution to this problem.
Thanks in advance.
Paul
--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org