just need to import a file in mysql the file is c:/databases/ss.sql and want to import in a DB named guests have to import using mysql command line client. i had the syntax earlier, but now i forgot. please help. thanks a lot in advance
mysql -uUSERNAME -pPASSWORD DBNAME < sqlfile.sql Code (markup): Although based on your example path, you might be on a Windows server... that command will only work on UNIX I believe.
I recommend getting phpMyAdmin, it'll make importing DBs and just any other SQL function much easier, no need for command line