echo Drop old database drop database echo Restore new database, the file is data.sql cd C:\Program Files\MySQL\MySQL Server 5.1\bin mysql.exe -umybranch -pmypass < data.sqlI checked with Administrator it's restored. but when I ran the app from VFP, it was not connected.