473,465 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

mysqlimport query

147 New Member
hi,

can you give me the mysqlimport query ?


i tried with this

Expand|Select|Wrap|Line Numbers
  1. C:\xampp\mysql\bin>mysqlimport -u root -p  --fields-terminated-by=","
  2.  --lines-terminated-by="\r\n" test C:/lists.txt;
  3. Enter password:
  4. mysqlimport: Error: 2, File 'C:\lists.txt;' not found (Errcode: 2), when using t
  5. able: lists

i dont know why i am facing this error ? i have the same name as of table name.my file is in c drive .


if i copy the same file and pasted in the bin folder means its working....

C:\xampp\mysql\bin>mysqlimport -u root -p --fields-terminated-by=","
--lines-terminated-by="\r\n" test lists.txt
Apr 29 '10 #1
2 3246
chathura86
227 New Member
are you sure that C:/lists.txt path is correct

try something like this
C:\lists.txt

Regards
Apr 30 '10 #2
rythmic
29 New Member
You are on a windows system.. so how about using software with a neat interface.

such as mysql administrator from mysql.found here:
http://dev.mysql.com/downloads/gui-tools/5.0.html
May 4 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Daniel Kasak | last post by:
Hi all I have some data in Excel ( I didn't put it there - a customer did ). I'm setting up an import routine for it, with an Access front-end. I don't like the way Access imports Excel files,...
0
by: gord barq | last post by:
Hi, I'm importing ~2000 rows using mysqlimport with the following syntax: mysqlimport -d -v --ignore -u root -p .txt Connecting to localhost Selecting database Deleting the old data...
0
by: lynn | last post by:
Hello, I am installing some databases on the mysql databases of my mac osx 10.2.8 but when I do "mysqlimport -u X -p W (directory) *.txt.table" I am getting this answer: mysqlimport: Error:...
0
by: Tom | last post by:
Hi I am using the following command to import a csv file into my MySQL database but for some reason the first column in the CSV file is being ignored... any thoughts as to why this might be...
0
by: Dobsons | last post by:
What can I do to make this series run as like an executable? (I type in the file name and it runs these 9 mysqlimport commands) mysqlimport -df --fields-enclosed-by='"' --fields-terminated-by=, R...
0
by: Joseph Hill | last post by:
Hi I have a 300MB CSV file in with data in the following fashion: "AB10 1AF","39410","80640","QA28","SN9","Castlehill","Aberdeen City","Grampian","","49998","Not applicable","" "AB10...
0
by: Dave Hammond | last post by:
When using mysqlimport, the final statistics include a count of "Warnings", for example: Connecting to foo.whatever.com Selecting database foo Loading data from LOCAL file: foo_userInfo.imp...
1
by: rchicho | last post by:
Necesito importar a una tabla MySQL datos de un archivo de texto, donde los campos están seperados por tabuladores, pero el orden y cantidad de los campos en el archivo texto no coincide con el de la...
0
by: moishyyehuda | last post by:
whey when I execute this statment cursor.execute("""mysqlimport merchandise 1.txt""") I get this error ProgrammingError: (1064, "You have an error in your SQL syntax. Check the manual that...
2
by: ibo3 | last post by:
I am having trouble trying to import a txt file. Can someone tell me what these errors are? -> mysqlimport --delete -c employeeID quarter initials Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.