On 3/22/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
El 21/03/07, user name [EMAIL PROTECTED] escribió:
Que tal, necesito hacer un script en bash que cargue un archivo .txt a
una
db mysql, he puesto esta línea:
mysqlimport --user=panchito --fields-terminated-by=, prueba
El 23/03/07, user name [EMAIL PROTECTED] escribió:
On 3/22/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
El 21/03/07, user name [EMAIL PROTECTED] escribió:
Que tal, necesito hacer un script en bash que cargue un archivo .txt a
una
db mysql, he puesto esta línea:
mysqlimport --user=panchito
debería funcionarte así de hecho estuve importando así sin problemas
hasta hace dos días
no funciona, mira:
# mysql -uroot prueba.txt
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to
El 23/03/07, user name [EMAIL PROTECTED] escribió:
debería funcionarte así de hecho estuve importando así sin problemas
hasta hace dos días
no funciona, mira:
# mysql -uroot prueba.txt
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check
the manual that corresponds
On 3/23/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
El 23/03/07, user name [EMAIL PROTECTED] escribió:
debería funcionarte así de hecho estuve importando así sin problemas
hasta hace dos días
no funciona, mira:
# mysql -uroot prueba.txt
ERROR 1064 (42000) at line 1: You have an
El 23/03/07, user name [EMAIL PROTECTED] escribió:
On 3/23/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
El 23/03/07, user name [EMAIL PROTECTED] escribió:
debería funcionarte así de hecho estuve importando así sin problemas
hasta hace dos días
no funciona, mira:
# mysql
On 3/23/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
el nombre del archivo (en este caso: prueba.txt) debe ser el nombre de
la tabla. Así que, si ya tenés una tabla prueba, tendría que funcionar
ahhh orales, eso era lo que no sabía, que debía llamarse igual que la tabla
:D muchas gracias!!!
El 23/03/07, user name [EMAIL PROTECTED] escribió:
On 3/23/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
el nombre del archivo (en este caso: prueba.txt) debe ser el nombre de
la tabla. Así que, si ya tenés una tabla prueba, tendría que funcionar
ahhh orales, eso era lo que no sabía, que
On 3/23/07, Gonzalo Rivero [EMAIL PROTECTED] wrote:
yo ya había dicho eso:
hahhaha, tenés razón, disculpa hacerte trabajar doble, muchas gracias de
nuevo.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
El 23/03/07 19:49, user name escribió:
# mysql -uroot prueba.txt
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near
El 23/03/07, Santiago José López Borrazás [EMAIL PROTECTED] escribió:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
El 23/03/07 19:49, user name escribió:
# mysql -uroot prueba.txt
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax;
check the manual that corresponds to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
El 23/03/07 23:07, Gonzalo Rivero escribió:
pero para que funcione eso, el txt tendría que tener algo como:
USE prueba
INSERT INTO prueba VALUES
('carnedepuerco,kilo,7.89,8.90,-1.01,-21.25,-12.80');
Claro. Pero eso depende del cómo se le
El mié, 21-03-2007 a las 19:38 -0600, user name escribió:
Que tal, necesito hacer un script en bash que cargue un archivo .txt a
una db mysql, he puesto esta línea:
mysqlimport --user=panchito --fields-terminated-by=,
prueba /home/panchito/pruebas/prueba.txt
pero con esto me dice que no se ha
El 21/03/07, user name [EMAIL PROTECTED] escribió:
Que tal, necesito hacer un script en bash que cargue un archivo .txt a una
db mysql, he puesto esta línea:
mysqlimport --user=panchito --fields-terminated-by=, prueba
/home/panchito/pruebas/prueba.txt
pero con esto me dice que no se ha
user name escribió:
Que tal, necesito hacer un script en bash que cargue un archivo .txt a
una db mysql, he puesto esta línea:
mysqlimport --user=panchito --fields-terminated-by=, prueba
/home/panchito/pruebas/prueba.txt
pero con esto me dice que no se ha seleccionado ninguna base de datos,
Que tal, necesito hacer un script en bash que cargue un archivo .txt a una
db mysql, he puesto esta línea:
mysqlimport --user=panchito --fields-terminated-by=, prueba
/home/panchito/pruebas/prueba.txt
pero con esto me dice que no se ha seleccionado ninguna base de datos, como
puedo hacerlo?
El 22/03/07, user name [EMAIL PROTECTED] escribió:
Que tal, necesito hacer un script en bash que cargue un archivo .txt a una
db mysql, he puesto esta línea:
mysqlimport --user=panchito --fields-terminated-by=, prueba
/home/panchito/pruebas/prueba.txt
pero con esto me dice que no se ha
17 matches
Mail list logo