Coder Social home page Coder Social logo

m-szalik / dbpatch Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 7.0 509 KB

Database version control. Gradle/Maven/Standalone app.

Home Page: https://github.com/m-szalik/dbpatch/wiki

License: Apache License 2.0

Shell 1.25% Java 98.67% Makefile 0.08%

dbpatch's People

Contributors

gitter-badger avatar m-szalik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dbpatch's Issues

Custom delimiters

I think it would be nice to have delimiter customized. I've had problem with oracle patches - default semicolon delimiter caused execution failure. Using custom delimiter (slash sign in my case) solved the issue. Currently default delimiter is hardcoded, so I had to modify sources to set up delimiter via properties file.

Build script

Make build possible without gradle.properties file

Not connecting to mysql db even though password is correct

Steps to reproduce:

  1. I used below command to run the DBPatch application
java -jar dbpatch-4.1.jar interactive ./dbpatch.properties
  1. DpPatch Screen opens successfully
  2. Click menu databases>conf_01 it asks password for user root I entered the correct password 3 times and it failed.

Other details:

  • using mysql server: mysql-8.0.21-winx64
    -using connector driver: mysql-connector-java-5.1.46 and mysql-connector-java-8.0.21

  • dbpatch.properties

conf_01.jdbcUri=jdbc:mysql://localhost:3306/liquibase_test?useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=UTF-8
conf_01.username=root
conf_01.password=root
conf_01.driverClass=com.mysql.jdbc.Driver
conf_01.patchDirs=sql/

Detect driver

In case of no driver found error detect it and try to find in classpath or m2 repository if available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.