I could fix that error. I had to replace the mysql driver with a latest one as the one I had was old and had a bug.
On Fri, Sep 13, 2013 at 3:46 PM, A Laxmi <[email protected]> wrote: > Hi,**** > > ** ** > > I installed sqoop 1.4.4. I have data in HBase that I would like to export > it to a MySQL database. I used the following export command but it throws > exceptions. **** > > ** ** > > Sqoop export Command used:**** > > ** ** > > *sudo bin/export –connect jdbc:mysql://xxx.xxx.x.xx:3306/ --table webpage > –username xxxx –password xxxxxxxx –export –dir > /var/hbase/hbase-data-dir/webpage* > > ** ** > > Exceptions:**** > > ** ** > > *Error manager.SqlManager: Error executing statement: java.sqlException: > Unknown initial character set index ‘224’ received from server.* > > *Error tool.ExportTool: Encounteres IOException running export job: > java.io.IOException: No columns to generate fro ClassWriter* > > ** ** > > Please help**** > > ** ** >
