MySQL Data migration from one server box to another

  Here’s a quick way to move data from one MySQL server to another Let source box be ServerOne, and the target box be ServerTwo. (user-names and schema names are indicative) – On ServerOne, mysqldump -u username -p db_name > data-dump.sql  (provide password when asked) scp data-dump.sql serverTwoUsername@ServerTwo:~/ On ServerTwo mysql -u username -p create […]

Continue reading →

Install Artefactory Maven repository on Ubuntu 16.04

  Follow these steps to install Artifactory Maven repository on Ubuntu 16.04 ( terminal commands, mostly )- wget -c -O- “https://bintray.com/user/downloadSubjectPublicKey?username=jfrog” | sudo apt-key add – echo “deb https://bintray.com/artifact/download/jfrog/artifactory-debs xenial main” | sudo tee -a /etc/apt/sources.list.d/artifactory-oss.list sudo apt-get update sudo apt-get -y install jfrog-artifactory-oss Set credentials of DB accounts after running – sudo /opt/jfrog/artifactory/bin/configure.mysql.sh Refer […]

Continue reading →

Spring boot and Open UI5 error : JSON.parse: unexpected end of data – when setting resourceroots

Problem : After setting the tag data-sap-ui-resourceroots the UI5 loading stops with the error “JSON.parse: unexpected end of data …” Reason : Spring boot thymeleaf view formatter changes single quotes to double quotes, thus braking the valid JSON format of the tag. Fix :   Make the landing page a static HTML instead of a view template […]

Continue reading →