Giter Club home page Giter Club logo

pyremotesql's Introduction

PyRemoteSQL

Python MySQL remote client

Basically this is a python SQL client that allows you to connect to your remote server with phpMyAdmin installed.Run SQL query commands remotely by running this script after connecting to remote server.

Requirements

  • Py3

Other python Dependancies

  • pymysql
  • time
  • socket
  • sys

Installation

clone this respiratory

git clone https://github.com/davdtheemonk/PyRemoteSQL.git

cd PyRemoteSQL

Usage

Python3 client.py

Input remote address ie. 127.0.0.1

Input remote port ie. 8080

Here are some issues still being fixed

  • Perfect Py module for SQL
  • Verifying if PHPMyAdmin is installed.
  • Version of Python thats compatible. I recommend Python 2.x>.

You are highly welcomed and appreciated to contribute to this project xx.

pyremotesql's People

Contributors

davdtheemonk avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

abubelinha

pyremotesql's Issues

ask for server address

You should take into account that not all installations use an url path like the one in your script: phpMyAdmin

For example, my provider has installed it on https://my.server.domain/database/phpmyadmin
(see subpath database, plus lowercase letters phpmyadmin)

So I recommend you fix the script to ask server full address, instead of using server IP/port

simple example - upload backup.sql

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

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.