Mysql entries by mutiple line file in Shell -
i can read file, problem insert of string read in file in mysql language. tried add strings contained file database (phpmyadmin).
here shell :
apps="/test/list.txt" app in $apps; mysql -utoto -ptiti -h localhost test << eof insert rpm (applications) values('$app'); eof done
the problem result in database not values of file path of file. help...!
Comments
Post a Comment