Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   mysql in execute, posted by Stefan Kanitz on Fri Dec 12 08:57:41 2008 
    icon2.gif   Re: mysql in execute, posted by Stefan Ritt on Fri Dec 12 09:16:19 2008 
       icon2.gif   Re: mysql in execute, posted by Stefan Kanitz on Sat Dec 13 14:31:53 2008 
Message ID: 66110     Entry time: Fri Dec 12 08:57:41 2008     Reply to this: 66111
Icon: Question  Author: Stefan Kanitz  Author Email: skmainz@web.de 
Category: Question  OS: Windows  ELOG Version: latest 
Subject: mysql in execute 

Hello all,

 

i have a question to mysql inexecute:

This works:

Execute new = mysql -h localhost -u root -D test1 -e "insert into `test1` (author, type) values ('$Author', '$Type')"

This doesn't work:

Execute new = mysql -h localhost -u root -D test1 -e "insert into `test2` (Autor, Adressat, Teil1, Teil2, Teil3,
Teil4, Teil5, Teil6, Teil7, Teil8 )  values ('$Autor', '$Adressat' ,  '$Teil1', '$Teil2', '$Teil3', '$Teil4', '$Teil5',
'$Teil6', '$Teil7', '$Teil8' )"

 

db is okay, i have all checked this. My question is: can the execute-command take a multiline argument? Or perhaps does somebody see a mistake i have made in the execute-line?

 

Thanks!

Steve


 

ELOG V3.1.5-3fb85fa6