MySQL: LOAD DATA INFILE error

admin

Administrator
Staff member
Hey, thanks for reading this already!

My problem is as follows,
I need tot load a textfile into the database using the following query:

load data infile '~/catg.txt' into table categories fields terminated by '\t';

After a while the mysql server responds with:
ERROR 13: Can't get stat of '/catg.txt' (Errcode: 2)

I also tried to do the LOAD DATA LOCAL INFILE query but it doesn't work either:

ERROR 2013: Lost connection to MySQL server during query

What am i supposed to check/do/not forget?
Server:
UNIX 6.0.0
MySQL 3.22.14b-gamma-virtual

if you need to know more, just mail me.
I hope you can help me with this!


Thanks in advance,

drm
 
Back
Top