00001 #!/bin/bash 00002 # 00003 00004 FILE=icscf.sql 00005 00006 mysqldump icscf -d -B --add-drop-table --add-drop-database >$FILE 00007 mysqldump icscf -t -B >>$FILE 00008 00009 echo "# DB access rights" >>$FILE 00010 echo "grant delete,insert,select,update on icscf.* to icscf@localhost identified by 'heslo';" >>$FILE 00011 echo "grant delete,insert,select,update on icscf.* to provisioning@localhost identified by 'provi';" >>$FILE 00012 00013 00014
1.5.2