MySQL Forums
Forum List  »  Triggers

Re: Trigger
Posted by: tobi münich
Date: April 28, 2011 06:46AM

Sorry, public and not Public but thats not the problem.

snmptt.snmptt
CREATE TABLE `snmptt` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`eventname` varchar(50) DEFAULT NULL,
`eventid` varchar(50) DEFAULT NULL,
`trapoid` varchar(100) DEFAULT NULL,
`enterprise` varchar(100) DEFAULT NULL,
`community` varchar(20) DEFAULT NULL,
`hostname` varchar(100) DEFAULT NULL,
`agentip` varchar(16) DEFAULT NULL,
`category` varchar(20) DEFAULT NULL,
`severity` varchar(20) DEFAULT NULL,
`uptime` varchar(20) DEFAULT NULL,
`traptime` varchar(30) DEFAULT NULL,
`formatline` varchar(255) DEFAULT NULL,
`trapread` int(11) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=226 DEFAULT CHARSET=latin1


the table snmptt.test is just a copy of snmptt.snmptt

I want to put new entrys from an externel Program (snmptt) to different tables by using this Trigger.

Options: ReplyQuote


Subject
Views
Written By
Posted
2531
April 27, 2011 08:06AM
914
April 27, 2011 09:35AM
Re: Trigger
1045
April 28, 2011 06:46AM
874
May 03, 2011 04:12AM
883
April 28, 2011 02:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.