165.Validate sqoop and MySql integration using “sqoop list-databases”

  • To get references with respect to list-databases command
    • Sqoop help list-databases
  • Command to get the list of databases
    • sqoop list-databases --connect jdbc:sqlserver://hostname --username your_username --password your_password
    • Example: sqoop list-databases --connect jdbc:mysql ://ms.itversity.com --username retail_user --password itversity

Share this post