Hello!
I am new to mySQL and have a problem with a tutorial.
I have created a file "pet.txt" with records that should be inserted into the table pet in my database.
When I write LOAD DATA LOCAL INFILE "pet.txt" INTO TABLE pet; at the mysql-promt I just get the result that the file is not found. I have tried to place the file in several locations (included "scripts", but have not succeded yet. Where shall I place the file?
I am running WinXP and the mysql-dir is C:\mysql
Best regards
Vidar
I am new to mySQL and have a problem with a tutorial.
I have created a file "pet.txt" with records that should be inserted into the table pet in my database.
When I write LOAD DATA LOCAL INFILE "pet.txt" INTO TABLE pet; at the mysql-promt I just get the result that the file is not found. I have tried to place the file in several locations (included "scripts", but have not succeded yet. Where shall I place the file?
I am running WinXP and the mysql-dir is C:\mysql
Best regards
Vidar