Salut!
M-am blocat si io la o problema mai marunta:

MySQL-server-4.0.14-0/MDK9.2
---
#!/bin/sh
id=arrakis
mysql -u root -p"xxx" -n -N -B -q -S /var/lib/mysql/mysql.sock accounting 
<<QUERY_INPUT
SELECT srcaddr FROM flow WHERE srcaddr IN (SELECT ip FROM clients WHERE 
id="$id");
QUERY_INPUT
---
Scoate eroarea:
ERROR 1064 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 'SELECT ip FROM clients WHERE id="arrakis")' at line 
1

In flow srcaddr e char(15) iar in clients ip tot asa...
  Ce pana mea are ? Ca am facut-o exact ca in documentatie
Multumesc.
-- 
I thought i taw a putty cat...I did! I did taw a putty cat!


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui