|
Search squid archive
|
|
RV: bash/mysql script not working | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi everyone, Please have a look at this bash/mysql external helper. Can anyone tell me why is it not working? #/bin/bash connect="mysql -h 127.0.0.1 -b squid -u squid -p password -e" url="%DST" while read $url do if [ $connect "select site from porn where site='$url'" ] then echo OK else echo ERR fi done is there anyway I can test this directly on the server's shell
[Linux Audio Users] [Photo] [Yosemite News] [Samba] [Video Projectors] [Video Devices] [Big List of Linux Books] [LCD TVs] [Webcams] [Linux USB]
![]() |