Hi mysqldump is the command you use to dump a database ie export it, you would never use it with < because that doesn't make sense. Are you trying to export your database or import an old copy? If import you want just mysql. Chris On 21 May 2015 6:43:17 pm NZST, obaiah <obaiah@atree.org> wrote:
Dear Robin Sheat,
Thank you very much for the reply.
I have been using koha from past 6-7 years, so far I have not faced any problem and everything was working fine. Two weeks back there was lot of power fluctuation in the institute due to that during the weekend my koha server got crashed. On top of that for my bad luck the external device which I was using also got corrupted. Luckily I have 2 months old data stored in my other device which as about 55MB, now I am trying to import that in to newly installed koha. The commands which I used for dbdump is as follow.
mysqldump -u root -p 'koha_koha' < /home/obaiah/koha_koha.sql Enter password: -- MySQL dump 10.13 Distrib 5.5.43, for debian-linux-gnu (x86_64) -- Host: localhost Database: koha_koha
I am not very good at SQL. I would be grateful if you could help me to solve this problem.
Regards Obaiah B. ATREE
-- View this message in context: http://koha.1045719.n5.nabble.com/Records-Exported-0-tp5840766p5840943.html Sent from the Koha-general mailing list archive at Nabble.com. _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz https://lists.katipo.co.nz/mailman/listinfo/koha
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.