for f in $(ls ./*.sql);  do mysql -u root -proot {database_name} < $f; done