Re: Mysql Syslog client.

2015-03-13 Thread Stephan Gomes Higuti
yoku0825, Thanks for answering, I've just find out what happened. I'm using OpenSUSE 13.2, and by default it uses systemdlogger and not syslog, so, my super complex solution for this case was replacing systemdlogger for syslog! :-D Worked like a charm. Regards, Stephan Higuti O

Re: Mysql Syslog client.

2015-03-12 Thread yoku ts.
Hi Stephan, I've already tried syslog but it works fine in my environment. $ /usr/mysql/5.7.6/bin/mysql --syslog -h 192.168.198.214 -u yoku mysql> show databases; Mar 13 11:27:57 dev-personal-04 MysqlClient: SYSTEM_USER:'ttanaka', MYSQL_USER:'yoku', CONNECTION_ID:9

Mysql Syslog client.

2015-03-12 Thread Stephan Gomes Higuti
Hello guys. Im using MySQL 5.7.6 for testing some new features, including syslog support for client. Its working great and Im getting the following lines when using localhost: Mar 12 12:36:34 server1 MysqlClient[17854]: SYSTEM_USER:'user1', MYSQL_USER:'userdb', CONNEC

MySQL error to syslog

2015-01-08 Thread Olivier Nicole
HI, I am running MySQL 5.5.31 on FreeBSD 9.2. I have a web server with a miss-configured service that generates faulty connections. After a while, MySQl blocks any connection from the web server. At some stage, I had set-up a script that would browse syslog log and look for a string like "

Re: All client commands to syslog?

2013-04-02 Thread spameden
9.3.388.rhel6.x86_64 it does not > seem to work. I've added "syslog"/"syslog ON" to my my.cnf server > configuration file but no info about executed commands in logs. > > I've also read > http://www.mysqlperformanceblog.com/2008/07/08/logging-your-mysql-com

Re: All client commands to syslog?

2013-03-28 Thread yoku ts.
Hello, "--syslog" is option of "mysql" command line client and it works in my environment. Do you put [mysql] section in your my.cnf? Regards, yoku 2013/3/28 Rafał Radecki : > Hi All. > > I have a production setup of four databases connected with > replic

RE: All client commands to syslog?

2013-03-28 Thread Guy_Lichtman
Hi, You can check out the McAfee MySQL Audit Plugin at: https://github.com/mcafee/mysql-audit It is an open source plugin providing audit capabilities for MySQL. It can be used to log executing commands. It can log to a file or over a unix domain socket to syslog-ng. Best, Guy

All client commands to syslog?

2013-03-28 Thread Rafał Radecki
=1#client-variables but despite the fact that I use percona Percona-Server-server-55-5.5.28-rel29.3.388.rhel6.x86_64 it does not seem to work. I've added "syslog"/"syslog ON" to my my.cnf server configuration file but no info about executed commands in logs. I've also re

Re: MySQL and Syslog

2010-05-15 Thread Dan Nelson
In the last episode (May 15), James Corteciano said: > Hi All, > > Anyone had tried to push all MySQL logs to the centralized syslog server? > Can you share with me how did you do it? > > I have centralized syslog (rsyslog-3.22.1-3.el5) server who resides > separately and

MySQL and Syslog

2010-05-15 Thread James Corteciano
Hi All, Anyone had tried to push all MySQL logs to the centralized syslog server? Can you share with me how did you do it? I have centralized syslog (rsyslog-3.22.1-3.el5) server who resides separately and a remote MySQL server (mysql-server-5.0.77-4.el5_4.2) on other node. How to accomplish

Re: mysql/syslog - 100,000s of log messages on restart

2006-07-23 Thread Dilipkumar
, July 23, 2006 1:58 AM Subject: mysql/syslog - 100,000s of log messages on restart I'm running MySQL 4.0.23 on a Debian Sarge system. Often, when I reboot twice in a short time period, MySQL doesn't seem to shut down gracefully -- it takes a long time for it to come up fully, and if

mysql/syslog - 100,000s of log messages on restart

2006-07-22 Thread Adam Rosi-Kessel
to come up fully, although the system is an Athlon XP 2200+ CPU with 2G RAM and not a huge amount of other activity. My first concern is figuring out how to avoid getting hundreds of thousands of messages in syslog -- right now grep mysql /var/log/syslog | wc -l gives 366635 and counting just for toda

select statement for syslog like grouping of messages

2004-05-03 Thread Andreas Heckwolf
Dear all, I do have a logging table with the fields: id, error_id, logtime and message. I am trying to create a consolidated list of log messages, syslog like, where consecutive, identical messages are combined and replaced by for example: "Last message repeated 5 times". Anyone done

Re: How to pass syslog data to a MySql Database?

2003-12-03 Thread Daniel Kasak
[EMAIL PROTECTED] wrote: Dear list: I`m running a syslogd into my Linux box for logging all event send from our Cisco routers, these event are logged in text format, for instance: I`d like to get some suggestion over how can I to load these text file to a MySql database automatically. Thank

Re: How to pass syslog data to a MySql Database?

2003-12-03 Thread Chris Knipe
To: [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 1:42 AM Subject: How to pass syslog data to a MySql Database? Dear list: I`m running a syslogd into my Linux box for logging all event send from our Cisco routers, these event are logged in text format, for instance: Dec

How to pass syslog data to a MySql Database?

2003-12-03 Thread elimachi
Dear list: I`m running a syslogd into my Linux box for logging all event send from our Cisco routers, these event are logged in text format, for instance: Dec  3 15:01:36 sin-trj 8351: Dec  3 15:01:35.322 BO: %SNMP-3-AUTHFAIL:Authentication failure for SNMP req from host 10.1.10.12 Dec  3 15:01:

mysql error log and syslog

2003-12-01 Thread Tom Kleinpeter
Hello, I have about half a dozen servers running mysql. I'd like to be able to consolidate all of the error logs in one place so that I can just tail -f one log file to watch for any problems. It seems like this would be very easy to do if I could send the error log to syslog, and hav

RE: syslog

2003-10-22 Thread "Fernández García, Cesar"
Hello, can i configure mysql to send logs to host by protocol syslog instead of mysql.log? thaks again, César -Mensaje original- De: Dan Nelson [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 22 de octubre de 2003 18:30 Para: Fernández García, Cesar CC: [EMAIL PROTECTED] Asunto: Re

Re: syslog

2003-10-22 Thread Dan Nelson
In the last episode (Oct 22), "Fernndez Garca, Cesar" said: > Hello, > can i send logs by protocol syslog to another host instead of a file? This is the wrong mailinglist, but on most systems, yes, you can. Instead of a filename in syslog.conf, use @hostname to forward the log en

syslog

2003-10-22 Thread "Fernández García, Cesar"
Hello, can i send logs by protocol syslog to another host instead of a file? thanks, César. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL to syslog

2003-08-16 Thread Stephen Touset
n Touset <[EMAIL PROTECTED]> writes: However, I have a different need. I'm setting up several machines on a network, and wish for them all to send logs through stunneled syslog connections to a central logging server, where I can run logcheck et al to generate reports of system a

RE: MySQL to syslog

2003-08-15 Thread Sagar, Sanjeev
I am not sure that MySQL can directly log to syslog but Unix provide this logger - make entries in the system log logger [-t tag] [-p pri] [-i] [-f file] [message...] So you use MysQL to put messages in a file and then use logger to send it to syslogs. This is how we do it too. Regards

MySQL to syslog

2003-08-15 Thread Stephen Touset
Is there now a way within MySQL to log to syslog? I was reading an archived email conversation between Sinisa Milivojevic and Vincent Stoessel in which they seemed to indicate that there was no need to log to syslog. As Vincent only had a request for timestamps in the error log, Sinisa simply

Syslog and MySql

2002-09-05 Thread John Cole
Hello all! I'm looking at dumping various syslog files to a MySQL database. The problem is that most programs I've seen only accept linux/unix default syslog types to dump to MySQL. I'm looking at dumping logs from a variety of different sources though my first priority is PI

Re: MySQL and Syslog.

2002-05-28 Thread Jeremy Zawodny
On Tue, May 28, 2002 at 01:39:31PM +0200, Dries Robberechts wrote: > Hi people, > > Is there a way to have the mysqld log to syslog, instead of the > errorlog flatfile? Nope. > I tried piping it to a stdin-to-syslog script, but that wouldn't > work either. There&#

MySQL and Syslog.

2002-05-28 Thread Dries Robberechts
Hi people, Is there a way to have the mysqld log to syslog, instead of the errorlog flatfile? I tried piping it to a stdin-to-syslog script, but that wouldn't work either. Thanks and cya, Dries. -- Dries Robberechts - Unix System Engineer Belgacom Skynet NV/SA, Rue Carli 2-4, B