How to configure MySQL Connector in SAP Hybris ?


Hybris OOTB shipped with HSQL DB, If you want to configure MySQL as Hybris DB then follow the below steps and you go!!

  • Download MySql connector (.jar), as it is not shipped with Hybris OOTB suite
  • Copy downloaded connector (.jar) file to ${HYBRIS_BIN_DIR}/platform/lib/dbdriverdirectory
  • Add below properties to your local.properties file
    db.url=jdbc:mysql://hostname:port/dbName?useConfigs=maxPerformance&characterEncoding=utf8&useSSL=false
    db.driver=com.mysql.jdbc.Driver
    db.username=root
    db.password=password
  • Initialize the system (ant initialize)
Author Image

Ankitkumar Patel

Sr. SAP Hybris consultant, having 15+ years experience in SAP Commerce Cloud (Hybris), SAP Spartacus. Extensive experience in SAP Hybris development, third-party integrations, project architecture and design... Read more

Comments

Popular posts from this blog

Hybris flexible search query examples

How to remove or update all data records in Hybris?

How to Install temporary Hybris license?