Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: MySQL Database DBD Error

by blue_cowdawg (Monsignor)
on Oct 11, 2012 at 15:16 UTC ( #998475=note: print w/replies, xml ) Need Help??

in reply to MySQL Database DBD Error

      Can anybody tell me why its happening ?

As already pointed out by others, it would appear you've typoed the name of the column in your SQL or the column doesn't exist at all.

Going further with that the first thing you should consider doing at this point is logging in using the mysql client and attempting to run the SQL code you are scripting from there. Run an "explain" on the table should give you some idea what the valid column names are.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg