Import .sql files help

admin

Administrator
Staff member
I am trying to import my .sql抯 file, some of the db files are about 50k records and about 60MB in size, and phpMyAdmin 2.2.2 cant handle them the browser just times out when importing the big ones, so I have been looking around here and tried some of the note like ie:

in the command prompt

c:\mysql>mysql -u myusername --password=mypassword < file.sql

c:\mysql>mysql db < filename

but they don抰 work for me, I am new at this and I hope someone tell me in code detail on how to do it in.

Thank you!
 
Back
Top