{"id":21105866,"url":"https://github.com/t0ha/mysql2filetree","last_synced_at":"2026-04-27T17:02:00.972Z","repository":{"id":150507960,"uuid":"11306345","full_name":"T0ha/MySQL2filetree","owner":"T0ha","description":"This is a tool written in Python that allows to extract MySQL database into easy to edit files and directories and and push your changes back to MySQL server","archived":false,"fork":false,"pushed_at":"2014-02-27T04:21:49.000Z","size":244,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T03:27:05.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/T0ha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-10T08:20:45.000Z","updated_at":"2014-02-27T04:21:49.000Z","dependencies_parsed_at":"2023-04-04T04:31:20.242Z","dependency_job_id":null,"html_url":"https://github.com/T0ha/MySQL2filetree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T0ha%2FMySQL2filetree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T0ha%2FMySQL2filetree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T0ha%2FMySQL2filetree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T0ha%2FMySQL2filetree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/T0ha","download_url":"https://codeload.github.com/T0ha/MySQL2filetree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243551326,"owners_count":20309299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T00:11:35.563Z","updated_at":"2025-12-28T18:04:29.366Z","avatar_url":"https://github.com/T0ha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"MySQL2filetree\n==============\n\nThis is a small console tool written in Python.\nIt allows to dump MySQL database into easy to edit files and directories \nand push it back to MySQL server with your changes. \n\n### USAGE:\nsqltool.py [options] [operation [object_type [object_name]]]\n#### Operations:\ndump or restore (default - dump)\n\n#### Object Types:\n* table\n* view\n* proc\n* fun\n* structure\n* all (default)\n\n#### Options:\n- `-h` - short help\n- `-H` or `--host` - MySQL host (default: 127.0.0.1)\n- `-u` or `--user` - MySQL username (default: root)\n- `-p` or `--password` - MySQL password (default: yoursuperpassword)\n- `-d` or `--database` - MySQL database name (default: test)\n- `-D` or `--prefix` - path to structure files (default: ./db/)\n- `-i` or `--ignore-file` - path to file with list of tables data from which shouldn't be imported (each table name should be a newline with empty line before EOF\n\n#### Dependences:\n- Python \u003e= 2.6\n- MySQLdb (python-mysql or python2-mysql)\n- mysqldump (mysql-client)\n\nYou are welcome with questions and suggestions.\nPlease email Shvein Anton: t0hashvein@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0ha%2Fmysql2filetree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft0ha%2Fmysql2filetree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft0ha%2Fmysql2filetree/lists"}