Author |
Message |
jayant
Team Member
Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Tue Feb 25, 2003 2:39 pm (21 years, 10 months ago) |
|
|
|
|
Artemyst
Junior WebHelper
Joined: 07 Aug 2003
Posts: 1
|
Posted:
Thu Aug 07, 2003 5:47 pm (21 years, 4 months ago) |
|
From the Structure page of your table, there is a link at the bottom labeled "Insert data from a textfile into table." Click that and you should arrive at a text importing page. Browse for your file, change "Fields terminated by" to a comma, and change the LOAD method to ...DATA LOCAL. That's what I use; hope it helps. Good luck. |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Thu Aug 07, 2003 10:21 pm (21 years, 4 months ago) |
|
Doesn't work on F2S though, looks like they disabled that too! |
|
|
|
|
sidja
Junior WebHelper
Joined: 23 Sep 2003
Posts: 3
|
Posted:
Tue Sep 23, 2003 5:50 am (21 years, 3 months ago) |
|
LOAD DATA INFILE requires permissions which pose a security risk, and have been disabled by default in the most recent versions of MySQL. It stinks, and we should be talking to the MySQL people about it, not your host!
Ben |
|
|
|
|
carolblake1975
Junior WebHelper
Joined: 14 Mar 2004
Posts: 5
|
Posted:
Mon Mar 15, 2004 2:54 pm (20 years, 9 months ago) |
|
|
|
|
sidja
Junior WebHelper
Joined: 23 Sep 2003
Posts: 3
|
Posted:
Tue Mar 16, 2004 1:45 am (20 years, 9 months ago) |
|
I don't necessarily think that they are a second rate hosting company. This is 4 very large (several MB) csv files that need to be imported at LEAST once a week. I did end up finding a "import csv" software tool that is usable, but needs to be hacked for me to use it as a cron job so that the whole process can be automated. |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Tue Mar 16, 2004 11:06 am (20 years, 9 months ago) |
|
|
|
|
sidja
Junior WebHelper
Joined: 23 Sep 2003
Posts: 3
|
Posted:
Tue Mar 16, 2004 11:00 pm (20 years, 9 months ago) |
|
I'm not with freedom2surf for hosting, so that doesn't help me. Thanks anyway though. |
|
|
|
|
php4ever
Junior WebHelper
Joined: 10 Oct 2002
Posts: 49
|
Posted:
Wed Mar 17, 2004 12:19 am (20 years, 9 months ago) |
|
Justin,
Thank you! Tried your suggestion at F2S just now and it works. I simply clicked on the "Insert data from a textfile into table" and then on the next page I got it to work by clicking the "...DATA LOCAL" since my text file resided on my hard-disk. This is so cool! Nice to have this flexibility again -- it's been a while! |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Wed Mar 17, 2004 1:09 am (20 years, 9 months ago) |
|
Nice one, I reckon they got fed up of my moaning about it needing upgrading (I have done about half a dozen times), so they went and done it, it is about time though.
The new system wasn't installed until last week or the week before, and it has replaced the old database login system. |
|
|
|
|
|
Page generation time: 0.174246 seconds :: 17 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme