Skip to content
Marcuse7 edited this page Jan 14, 2020 · 2 revisions

MySQL

Google Cloud

Google Cloud logo

Unencrypted, from command line

Use

mysql --host=35.246.239.48 --user=root --password=e8RnK7WIjcSf5Y78By2XWP0YuB serialseries

from training room.

If you want access from home:

  1. Determine your IP address on page https://www.whatismyip.com/de/ .
  2. Add your IP address on page https://console.cloud.google.com/sql/instances/serialseriesdb/connections?hl=de&project=wildcodeschool . (You can also determine the IP address range your provider uses on page https://myip.ms/info/whois/ and enter the "owner CIDR" for your IP address instead.)

Encrypted, from command line

You need three SSL-related files. From the folder with these files, use

mysql --ssl-ca=server-ca.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem --host=35.246.239.48 --user=root --password=e8RnK7WIjcSf5Y78By2XWP0YuB serialseries

to connect MySQL.

Clone this wiki locally