Git Product home page Git Product logo

compalex's People

Contributors

amarjitsingh52922 avatar dlevsha avatar gareth-ib avatar georgynet avatar vaalon avatar

Stargazers

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

Watchers

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

compalex's Issues

Warning with php > 7.1

When a table does not exist on either primary or secondary, the page displays the following php warning under the table name when using php versions greater than 7.1.

Warning: count(): Parameter must be an array or an object that implements Countable in home/vagrant/Compalex/compalex/template/compare.php on line 72

This warning is also displayed on the CLI screen.

Sorry I have not had enough time to suggest a fix yet.

Docker deploy?

For those of us not using PHP, this seems like the ideal app to deploy in a Docker - anyone able to do this?

Connection is Microsoft Azure SQL

Hello i try to compare two Azure MS SQL Databases but i always get:

Compalex
Database schema compare tool
ERROR:
SQLSTATE[01002] Adaptive Server connection failed (COOLHOSTNAME:1433) (severity 9)
Stack trace:
#0 /usr/src/compalex/driver/abstract.php(34): PDO->__construct('dblib:host=COOL...', 'ACOOLUSERNAME...', 'CRYPTICPASSWORD...', Array)
#1 /usr/src/compalex/driver/abstract.php(17): BaseDriver->_getConnect('dblib:host=COOLHost...', 'cooldatabasename...')
#2 /usr/src/compalex/driver/abstract.php(65): BaseDriver->_getSecondConnect()
#3 /usr/src/compalex/driver/mssql.php(22): BaseDriver->_getCompareArray('SELECT DISTINCT...')
#4 /usr/src/compalex/index.php(28): Driver->getCompareTables()
#5 {main}

I added a dns server to the docker-compose so i am sure he can resolve the hostname, also i am sure about the used usernames/passwords/databasenames.

What could i do wrong ?

Improvements by a real life need

Sorry, could not easily find where to submit a request for new feature.
We are designing an internal tool that does something similar, but would be happy to use this.
We have several databases on our server, and some of them have a delta database. This is a database that tracks changes in each field (basically, copies the field before the change+ adds four meta fields unique id, delta date, delta type, delta comment). The point is, I need to compare the delta db to its real life counterpart and make sure they are 100% same. With the exceptions of the added 4 fields.

That was a real life example to what we need a schema checker like that + the ability to add exceptions.
Is it in the road map?

ERROR: could not find driver

image

I setup Apache2.4.26(Win64) and PHP Version 7.0.21 added php_pdo_sqlsrv_7_ts_x64.dll and php_sqlsrv_7_ts_x64.dll. As result i got this error. Please give me the tip to solve this problem. Thank you.

Can't connect if database password includes a question mark

If the user's password contains a question mark "?" then Compalex fails with error "compare’s server IP address could not be found". This is because the generated URL can not be parsed with PHPs parse_url and returns false instead, causing the connection to fail.

I could only get around this by creating a new sql account without this character in the randomly generated password

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.