Craig Small <csmall@...> writes:

> 
> On Fri, Jun 07, 2013 at 07:56:13AM +0000, Ruud Hop wrote:
> > and everything (local machine and remote machine) is logging to this 
file.
> > Now how to get this logging into mysql?
> I had another look at it.
> Is the pipe file being made? you have to run mkfifo
> 
> You can also run the mysql client on the command line to see if it
> crashes due to some error.
> $ mysql -u jffnms --password=mypassword jffnms < /tmp/blah
> 
> then on another screen
> echo 'this is not sql' > /tmp/blah
> which shows:
> ERROR 1064 (42000) at line 1: You have an error in your SQL syntax;
> check the manual that corresponds to your MySQL server version for the
> right syntax to use near 'this is not sql' at line 1
> 
>  - Craig

Craig,

The pipe file exists.

when I run
mysql -u jffnms --password=**** jffnms < /tmp/mysql.pipe

and on another screen
echo 'this is not sql' > /tmp/mysql.pipe

I get the same response

Ruud



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to