2013年11月20日星期三

Tutorial: Getting Started with Google Cloud SQL (Screencast)


Jonathan Simon (of Google) send in a note about a video walkthrough of the Google Cloud SQL product and how to get started using it from a basic PHP script.



Google Cloud SQL is a service that allows you to create, configure, and use relational databases that live in Google's cloud. It is a fully-managed service that maintains, manages, and administers your databases, allowing you to focus on your applications and services. By offering the capabilities of a familiar MySQL database, the service enables you to easily move your data, applications, and services in and out of the cloud. This enables high data portability and helps you achieve faster time-to-market because you can quickly leverage your existing database.


Most of the video is about the setup and creation of a new database in the cloud service, but closer to the end (starting at about 7:20) they walk you through the PHP side. The connection is just a simple mysql_connect (mysqli anyone?) to the remote Google host with the user/pass you set up before. They also show a bit about database management with a phpMyAdmin instance.


Link: https://www.youtube.com/watch?v=_kQXgjIfLgo

没有评论:

发表评论