Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
AW: How to Suppress Error Messages

AW: How to Suppress Error Messages

2006-07-28       - By Selke, Gisbert W.

 Back
Aaron,
> -- --Urspr?ngliche Nachricht-- --
> Von: Aaron Huber [mailto:ashuber@(protected)]
> Gesendet: Freitag, 28. Juli 2006 16:47
> I would like to know how to spress error messages like this one from going
> to standard output in my perl scripts.
>
> DBD::mysql::st execute failed: Duplicate entry '0871540770'
> for key 2 at
> ysearch.pl line 106.
See the DBI man page, section "Attributes common to all handles", and look
up the attributes PrintError and RaiseError. The attributes Warn and
HandleError might also be worth a look.

\Gisbert

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/perl?unsub=mysql@(protected)