[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] cargar archivo txt a MySQL por bash



El 22/03/07, user name <someusernamehere@gmail.com> 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, como
puedo hacerlo?


 gracias :D


Seguro que en el txt seleccionas la base de datos?
--
"... may the source be with you..."



Reply to: