mysqlimport Questions

10

Solved

I have a large SQL file with one database and about 150 tables. I would like to use mysqlimport to import that database, however, I would like the import process to ignore or skip over a couple of ...
Gleeful asked 24/5, 2013 at 12:48

2

I have been using mysqlimport without problems for a long time, now as mysql 5.7 added json data type support, I'm trying to use mysqlimport with rows containing json data. Here is an example of a...
Rora asked 23/3, 2016 at 12:32

5

Solved

Does anyone know why I get this error when running mysqlimport? mysqlimport -u someone -pwhatever --columns=a,b,c,d,e bar /var/tmp/baz.sql mysqlimport: Error: 1045, Access denied for user 'someone...
Complain asked 26/7, 2011 at 21:52

7

Solved

I have a backup script for my MySQL database, using mysqldump with the --tab option so it produces a .sql file for the structure and a .txt file (pipe-separated) for the content. Some tables have ...
Ardennes asked 11/4, 2013 at 0:20

2

Solved

We are using MySQL 8.0.* and .csv file for the importing data into Amazon RDS. We are executing this command from the app server command line. Error: mysqlimport: Error: 1227 Access denied; you n...
Rutherfordium asked 5/6, 2019 at 8:54

3

Solved

I am getting following error while importing sql file ERROR: ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive...
Milker asked 14/7, 2016 at 20:46

2

Solved

I was facing an issue during import SQL file on MySql database which is on AWS RDS, during import SQL file initial table was imported then suddenly it shows an error. I know this error and I can...

1

Solved

Im trying to import a mysql table with data that has html code in it and it generates syntax error. Can someone tell me how to properly import mysql with html code Sytanx error : You have an err...
Wallas asked 18/4, 2018 at 11:21

3

Solved

I have an export from a MYSQL database on a linux machine however when importing that database into MYSQL on windows all of the table names that were camel cased are now all lower case. The sql dum...
Zeist asked 19/5, 2010 at 23:6

2

Solved

This article: http://www.linuxask.com/questions/how-to-show-the-warnings-during-mysqlimport says it is not possible to show warnings when using mysqlimport: When you use mysqlimport to import d...
Bergstein asked 3/10, 2011 at 22:23

4

I've been playing with mysqlimport and I've run into the restriction where the filename has to be the same as the table name. Is there any way to work round this? I can't rename the file as it is ...
Arty asked 24/3, 2010 at 14:41

1

Solved

While, trying to import a .sql file into my database, I am getting the following error for one of the insert statements - ERROR 1292 (22007) at line 31504: Incorrect datetime value: '1936-01-31 00...
Hightail asked 11/8, 2014 at 19:25

1

Solved

I asked this question before and I am just coming back to the issue. I have a backup script for my MySQL database, using mysqldump with the --tab option so it produces a .sql file for the struct...
Frail asked 10/6, 2013 at 0:57

1

Solved

I have some backup and restore scripts that I am using for my database. The table has a timestamp field. The backup script looks like this: mysqldump -u user -ppass database --tab="../" --fields-t...
Stealthy asked 15/2, 2013 at 0:16

2

Solved

I'm using mysqlimport to replace data in a table with values from a TSV file. Everything is working fine (importing data using the DB superuser name and password), so now I want to lock it down so ...
Tampere asked 14/12, 2012 at 17:23

1

Solved

I have a php script that parses XML files and creates a large SQL file that looks something like this: INSERT IGNORE INTO table(field1,field2,field3...) VALUES ("value1","value2",int1...), ("value...
Posh asked 18/2, 2012 at 1:59

4

Solved

I need to import largish (24MB) text files into a MySQL table. Each line looks like this: 1 1 0.008 0 0 0 0 0 There are one or more spaces after each field, and the last field is tailed by abou...
Vermont asked 1/10, 2008 at 7:13

3

Solved

I have successfully dumped an entire MySQL database using mysqldump --databases generating a nice .txt file. However, I can't see how to read the whole file back into MySQL in one go; mysqlimpor...
Numerical asked 19/2, 2010 at 17:8

1

I'm importing some data from a .txt file into a MySQL database table, using mysqlimport. It seems to import OK (no error messages) but looks very odd when displayed, and can't be searched as expect...
Deadlock asked 2/2, 2010 at 23:19

2

Solved

As the title says: I've got a bunch of tab-separated text files containing data. I know that if I use 'CREATE TABLE' statements to set up all the tables manually, I can then import them into the ...
Crossness asked 2/2, 2010 at 13:5
1

© 2022 - 2024 — McMap. All rights reserved.