import text file

Status
Not open for further replies.

scrauler46

New Member
Messages
3
Reaction score
0
Points
0
I created a database and I need to import text data on a table. How can I do this?
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Head to phpMyAdmin through cPanel and select the appropriate database.

Then click on the IMPORT tab and upload your text file.
 

scrauler46

New Member
Messages
3
Reaction score
0
Points
0
This is the first thing I did but it doesn't work because the text file has not sql sentences, only text to insert into my table. Beside, using Import command I can't choose the table where the text must to go.

I also tried with "load data local infile ..." command from select window... and got another error message.

---------- Post added at 08:24 PM ---------- Previous post was at 06:42 PM ----------

Solved!!

I realized I must select the table first, and then import the text file.

Thanks a lot.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Solved

***Thread Closed***
 
Status
Not open for further replies.
Top