From: Johan De Meersman Date: May 26 2010 8:32am Subject: Re: source backup.sql - troubleshoot List-Archive: http://lists.mysql.com/mysql/221704 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=0016363b90ec3121ec04877b1d02 --0016363b90ec3121ec04877b1d02 Content-Type: text/plain; charset=ISO-8859-1 On Wed, May 26, 2010 at 10:20 AM, wrote: > If you are trying to restore from backup.sql to a database called soure > then your syntax is wrong. You should be running: > > mysql source < backup.sql > You are assuming that the file named "backup.sql" contains a backup of the database named "backup". There is no grounds in the mail that support that assumption; I would even say that 'backup.sql' is a rather generic name for a file containing a backup. Such naming is not uncommon for a one-shot backup; or it might be used as a placeholder in an explanation. -- Bier met grenadyn Is als mosterd by den wyn Sy die't drinkt, is eene kwezel Hy die't drinkt, is ras een ezel --0016363b90ec3121ec04877b1d02--