#!/bin/sh
ls ./*.sql
echo ""
echo "上書きするDATAファイル名を入力してください"
echo ""
ls -l *.sql
read datab
echo ""
echo "$datab"
echo ""
mysql -u mythtv -p mythconverg < $datab
#mysqldump -u mythtv -p mythconverg > dump.sql
— posted by くま at 11:51 am TrackBack [0]
Comments