(Arxarios ) Script execution
Kostas Liakakis
kostas at skiathos.physics.auth.gr
Mon Oct 22 16:41:01 EEST 2001
To symbolo < shmainei anakateu0hnsh eisodou. Me < foo.sql anti o client ths
mysql na pairnei eisodo apo thn consola (plhktrologio) thn briskei se ena
arxeio me to onoma foo.sql
Opos katalabaineis to "select ... klp" apotelei thn idia thn entolh. To <
den se boh0a edo. To sosto 0a htane:
echo 'select field1,count(*) from table1 group by field1' | mysql
`H akomh kai to pio syn0eto (opou 0a steile san eisodo ta panta mexrh to
EOF):
mysql << EOF
'select field1,count(*) from table1 group by field1;
EOF
-K.
"Simos Varelakis" <Simos at Webgr.net> wrote in message
news:mailman.1003753991.30655.linux-greek-users at lists.hellug.gr...
> Geia hara se olous
>
> τι φταιει και δουλευει το
>
> #mysql dbname<foo.sql
>
> opou foo.sql = ascii file me periexomeno
> select field1,count(*) from table1 group by field1
>
>
> το mysql dbname <select field1,count(*) from table1 group by field1
>
> den douleyei ????
>
> kamia idea
>
> tia
>
> rgds simos
>
More information about the Linux-greek-users
mailing list