{"id":20718901,"url":"https://github.com/prath0m/prath0m-python-cloud-mysql-queries","last_synced_at":"2026-04-29T21:35:33.027Z","repository":{"id":252642758,"uuid":"841023019","full_name":"prath0m/prath0m-python-Cloud-Mysql-Queries","owner":"prath0m","description":"Cloud MySQL Queries Using Python (Clever Cloud). ","archived":false,"fork":false,"pushed_at":"2024-08-11T12:21:10.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T22:25:47.124Z","etag":null,"topics":["clevercloud","cloud","database","mysql","python3"],"latest_commit_sha":null,"homepage":"","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/prath0m.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-11T12:15:01.000Z","updated_at":"2024-08-11T13:02:27.000Z","dependencies_parsed_at":"2024-08-11T13:49:22.990Z","dependency_job_id":null,"html_url":"https://github.com/prath0m/prath0m-python-Cloud-Mysql-Queries","commit_stats":null,"previous_names":["prath0m/prath0m-python-cloud-mysql-queries"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prath0m%2Fprath0m-python-Cloud-Mysql-Queries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prath0m%2Fprath0m-python-Cloud-Mysql-Queries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prath0m%2Fprath0m-python-Cloud-Mysql-Queries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prath0m%2Fprath0m-python-Cloud-Mysql-Queries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prath0m","download_url":"https://codeload.github.com/prath0m/prath0m-python-Cloud-Mysql-Queries/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242995878,"owners_count":20218814,"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":["clevercloud","cloud","database","mysql","python3"],"created_at":"2024-11-17T03:15:14.344Z","updated_at":"2026-04-29T21:35:28.009Z","avatar_url":"https://github.com/prath0m.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MySQL Configuration on Clever Cloud\n\nThis guide will help you configure a MySQL database on Clever Cloud and verify the connection using the MySQL shell.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following:\n- A Clever Cloud account\n- MySQL client installed on your local machine\n\n## Step 1: Create a MySQL Add-on on Clever Cloud\n\n1. **Log in to Clever Cloud:**\n   - Go to [Clever Cloud](https://www.clever-cloud.com/) and log in.\n\n2. **Create a MySQL Add-on:**\n   - Navigate to the \"Add-ons\" section in your Clever Cloud dashboard.\n   - Click on \"Add an Add-on\" and select \"MySQL\" from the available options.\n   - Choose your preferred region and plan.\n   - Click \"Create Add-on\" to provision the MySQL instance.\n\n## Step 2: Retrieve MySQL Connection Details\n\nOnce the MySQL add-on is created:\n\n1. **Get Connection Details:**\n   - Go to the \"Add-ons\" section and select your MySQL instance.\n   - Navigate to the \"Information\" tab to find the following connection details:\n     - **Host:** `\u003cyour-mysql-host\u003e`\n     - **Port:** `3306`\n     - **Database Name:** `\u003cyour-database-name\u003e`\n     - **User:** `\u003cyour-username\u003e`\n     - **Password:** `\u003cyour-password\u003e`\n\n## Step 3: Verify the Connection Using MySQL Shell\n\nTo verify the connection, use the MySQL shell:\n\n1. **Open MySQL Shell:**\n   - Open your terminal or command prompt.\n\n2. **Connect to MySQL:**\n   - Run the following command, replacing the placeholders with your actual connection details:\n     ```bash\n     mysql -h \u003cyour-mysql-host\u003e -P 3306 -u \u003cyour-username\u003e -p\u003cyour-password\u003e \u003cyour-database-name\u003e\n     ```\n   - Example:\n     ```bash\n     mysql -h mysql-1234.clever-cloud.com -P 3306 -u user123 -pMySecretPassword database_name\n     ```\n\n3. **Check the Connection:**\n   - If the connection is successful, you should see the MySQL prompt:\n     ```bash\n     mysql\u003e\n     ```\n   - You can now run SQL commands to interact with your database.\n\n## Step 4: Testing the Connection\n\nTo ensure everything is working:\n\n1. **Show Databases:**\n   ```sql\n   SHOW DATABASES;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprath0m%2Fprath0m-python-cloud-mysql-queries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprath0m%2Fprath0m-python-cloud-mysql-queries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprath0m%2Fprath0m-python-cloud-mysql-queries/lists"}