Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inbuilt VCS #11841

Closed
zaverichintan opened this issue Jan 11, 2016 · 18 comments
Closed

Inbuilt VCS #11841

zaverichintan opened this issue Jan 11, 2016 · 18 comments
Labels
question Used when we need feedback from the submitter or when the issue is a question about PMA

Comments

@zaverichintan
Copy link
Contributor

Hey,
Can we have a inbuilt VCS for user generated data?
With Function like connecting local pma to that on server, so that export import thing can be reduced.

Share your thoughts on it.

@nijel
Copy link
Contributor

nijel commented Jan 11, 2016

We have tracking feature already there...

@nijel nijel added the question Used when we need feedback from the submitter or when the issue is a question about PMA label Jan 11, 2016
@ghost
Copy link

ghost commented Jan 11, 2016

@nijel In the current tracking feature of phpmyadmin, is it possible to make different branches for databases/tables to work on?... Let me give a situation. If a user wants to test a two tables which differ in a minor way. There ae two options:

  • User tests table 1, then change table 1 to table 2 and then test table 2
  • He stores table 1 and table 2 in th database and test them.
    Is there any other option?.. like creating two branches of same table and then editting them to fit user's needs.
  • @nijel
    Copy link
    Contributor

    nijel commented Jan 11, 2016

    No, there is no branching.

    @ghost
    Copy link

    ghost commented Jan 11, 2016

    Is it feasible idea to implement it.. Share your opinions please @nijel

    @zaverichintan
    Copy link
    Contributor Author

    @nijel tracking seems to be working on local or server,
    It doesn't connect local db to server with version control.
    Correct me if wrong

    @lem9
    Copy link
    Contributor

    lem9 commented Jan 11, 2016

    @zaverichintan Please explain the use case for a tracking system that would be connected to an external version control system.

    @zaverichintan
    Copy link
    Contributor Author

    I meant that by connecting to VCS,
    Backup and restore with proper version.
    I lost my important data due to error in cpanel full restore error, so thought of providing some kind of backup system.

    @Achilles-96
    Copy link
    Contributor

    How about we put an automatic backup system with regular intervals. Interval will be decided by the user. Requirement may be that machine must be up at the scheduled time or else data will be backed up whenever machine is up after the scheduled backup.

    @lem9
    Copy link
    Contributor

    lem9 commented Jan 12, 2016

    @Achilles-96 I don't see how this can be done in a web interface such as phpMyAdmin.

    @Achilles-96
    Copy link
    Contributor

    @lem9 I am thinking something on the lines of using crontab.

    @lem9
    Copy link
    Contributor

    lem9 commented Jan 12, 2016

    @Achilles-96 If crontab calls phpMyAdmin, there would be a potential security risk because crontab would need the MySQL credentials. Also, phpMyAdmin is not always running in a Unix/Linux environment where crontab is available.

    @zaverichintan
    Copy link
    Contributor Author

    Something similar to git?
    Some part of it can be implemented

    @lem9
    Copy link
    Contributor

    lem9 commented Jan 13, 2016

    The team decided this is out of scope for phpMyAdmin.

    @lem9 lem9 closed this as completed Jan 13, 2016
    @zaverichintan
    Copy link
    Contributor Author

    @lem9
    I can understand, Thanks for giving it a thought ,
    can we have some sync button to sync databases on local and on server ?

    @lem9
    Copy link
    Contributor

    lem9 commented Jan 14, 2016

    @zaverichintan Database synchronization was implemented in a previous GSoC project but we had to remove the code due to scaling problems.

    @zaverichintan
    Copy link
    Contributor Author

    @lem9 okay, Thank you for your response.

    @zaverichintan
    Copy link
    Contributor Author

    @lem9, can you please elaborate on the scaling problems . I would be interested to resolve the scaling problem.

    @nijel
    Copy link
    Contributor

    nijel commented Feb 29, 2016

    Synchronization of big databases is always problem - you can not load them into memory to do the comparison. Probably many problems could be avoided with doing more things on the client side, but I still think that synchronizing 1GB database will be challenging.

    @github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2020
    Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
    Labels
    question Used when we need feedback from the submitter or when the issue is a question about PMA
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants