{"id":19249405,"url":"https://github.com/dori-dev/python-mysql-cheatsheet","last_synced_at":"2025-06-11T07:09:26.645Z","repository":{"id":113238609,"uuid":"434553585","full_name":"dori-dev/python-mysql-cheatsheet","owner":"dori-dev","description":"Python MYSQL CheatSheet.","archived":false,"fork":false,"pushed_at":"2022-07-21T05:08:06.000Z","size":27,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T12:43:29.679Z","etag":null,"topics":["cheetsheet","cheetsheets","mysql","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dori-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-12-03T10:20:42.000Z","updated_at":"2023-02-16T08:42:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"80ab3722-0034-4ea5-acac-01438b9a2b94","html_url":"https://github.com/dori-dev/python-mysql-cheatsheet","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/dori-dev%2Fpython-mysql-cheatsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fpython-mysql-cheatsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fpython-mysql-cheatsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fpython-mysql-cheatsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dori-dev","download_url":"https://codeload.github.com/dori-dev/python-mysql-cheatsheet/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fpython-mysql-cheatsheet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259219661,"owners_count":22823574,"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":["cheetsheet","cheetsheets","mysql","python"],"created_at":"2024-11-09T18:13:56.518Z","updated_at":"2025-06-11T07:09:26.630Z","avatar_url":"https://github.com/dori-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python MYSQL CheatSheet\n\nPython mysql cheatsheet.\n\n#\n\n# Install Required\n\n#\n\n## Windows(WAMP)\n\nDownload and Install from [HERE](https://www.apachefriends.org/download.html)\n\n#\n\n## Linux(LAMP)\n\ninstall packages.\n\n```\nsudo apt install apache2 php mariadb-server\n```\n\nsetup packages.\n\n```\nsystemctl status apache2\nsystemctl status mariadb.service\nsudo systemctl restart apache2\nsudo systemctl restart mariadb.service\n```\n\nOpen With Browser: http://localhost/\n\nsetup mysql.\n\n```\nsudo mysql_secure_installation\n```\n\nuse mysql.\n\n```\nsudo mysql -u root -p\n```\n\nadd mysql user.\n\n```sql\nCREATE USER 'user'@'localhost' IDENTIFIED BY 'password';\nGRANT ALL PRIVILEGES ON * . * TO 'user'@'localhost';\nFLUSH PRIVILEGES;\n```\n\nchange access level apache directory.\n\n```\ncd /var/www/\nsudo chown -R user:user html\n```\n\ninstall phpmyadmin.\n\n```\nsudo apt install phpmyadmin\n```\n\nsetup phpmyadmin.\n\n```\ncd /var/www/html\nls /usr/share/phpmyadmin\nln -s /usr/share/phpmyadmin .\nsudo systemctl restart apache2\n```\n\nOpen With Browser: http://localhost/phpmyadmin/\n\ninstall mysql connector for python.\n\n```\npython -m pip install mysql-connector\n```\n\n\n\n#\n## Links\n\nDownload Source Code: [Click Here](https://github.com/dori-dev/python-mysql-cheatsheet/archive/refs/heads/main.zip)\n\nMy Github Account: [Click Here](https://github.com/dori-dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fpython-mysql-cheatsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdori-dev%2Fpython-mysql-cheatsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fpython-mysql-cheatsheet/lists"}