Skip to content

Getting started with GCP Cloud Storage. Loading MySQL with Pandas and SQL Alchemy.

Notifications You must be signed in to change notification settings

mtbulut/GCP-MySQL-pandas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loading a GCP Database with Pandas and SQLAlchemy

Create the Database Instance

https://cloud.google.com/sql/docs/mysql/quickstart Follow the instructions under "Before you begin" and "Create an instance". We'll connect to it later.

Download MySQL Workbench

https://dev.mysql.com/downloads/workbench/

Install the Google Could SDK

https://cloud.google.com/sdk/docs/#install_the_latest_cloud_sdk_version

Install and Start the Proxy

https://cloud.google.com/sql/docs/mysql/quickstart-proxy-test

Connect with MySQLWorkbench

Hostname: 127.0.0.1 Port: 3306 Username: Root Password: ?

Load the Database

Install with pipenv install. Run a shell with pipenv shell. Run the script with python load_mysql.py.

About

Getting started with GCP Cloud Storage. Loading MySQL with Pandas and SQL Alchemy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%