Error while importing a ".sql" file in database I am trying to import a .sql file in to my local database. whenever i type the command to import the file, I get an error ERROR at line 1: Unknown command '\S'.

This is the first line of the sql file update product set aka = 'Trojan.gen,Backdoor.Win32.Agent.bisn' where id = 156701
Since you have an ASCII file, the script could be giving problems because it is came from a Windows machine and you are attempting to load it into mysql on a Linux machine.

You may want to try one of two things:


Using the mysql client in Windows, load the data remotely.
Use sql client in raw mode in one of two ways


mysql -hIP -r -uroot -p DN_name &lt; filename.sql
mysql -hIP -B -uroot -p DN_name &lt; filename.sql