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

simple example - upload backup.sql #1

Open
abubelinha opened this issue Feb 28, 2022 · 3 comments
Open

simple example - upload backup.sql #1

abubelinha opened this issue Feb 28, 2022 · 3 comments

Comments

@abubelinha
Copy link

abubelinha commented Feb 28, 2022

This looks like an interesting project but it lacks some documentation. Not sure if I understood what it does:

  1. Is it supposed to connect to a mysql server through its phpmyadmin web interface? (if YES, that would be great)
    Or is this simply for connecting to a mysql server in the usual direct way (NOT using a phpadmin web interface).

  2. If above answer is YES, could you provide a couple of usage examples?

  • how to run small queries (SELECT, INSERT, UPDATE, DELETE)
  • is it possible to upload a big database dump file through phpmyadmin interface?

Thanks

@davdtheemonk
Copy link
Owner

Yeah it's supposed to connect via phpmyadmin and the direct way...but I had trouble writing the correct code to verify if phpmyadmin is installed in remote host..
1.There multiple OS's out there
2.Is there a way to verify Phpmyadmin is installed without causing security issues

@abubelinha
Copy link
Author

I understand your python script intended to run on your local machine, but to connect to a remote phpmyadmin web interface. Correct?
In such scenario, you already know phpmyadmin is installed there. Why do you need to verify?
I must be misunderstanding something.

@davdtheemonk
Copy link
Owner

I just thought it as a feature I could add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants