if that file actualy create table and than insert some vulues you can simple run command prompt
mysql -u user_name database_name<your_textfile+extension -p
<em>so it can look like this</em>
mysql -u root dvdDatabase<myDvds.sql -p
then it will ask you for db password
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
- database to which you want to import your tables must exist, if not create it
- for import/export I do not use MySQL command prompt Client but Windows Command Prompt, that is why there are options(-u for user, -p for password), my mistake I should mention it. When importing make shore that you are in the same directory as the file which you want to import into database as typing full path is usualy problematic( plenty of spelling mistakes), so use cd.. to move out of current folder, dir to list content of folder and cd my_folder/sub_folder to enter into a folder
if you still have problem let me know
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902