Join Joseph Lowery for an in-depth discussion in this video Coding Cloud SQL in PHP, part of Google App Engine Essential Training.
- In the prior lesson I showed you…how to import a SQL file into a Cloud SQL database instance.…Now let's complete the project…and set up the connections in the main.php file…and deploy the app.…So I'm gonna start by going to my Code Editor…and do all the file manipulation there.…I have, in my Exercise Files in Chapter 5, 05_07,…in the Start folder, a folder called db-example.…So I'm going to copy that and then open…my AE PHP folder and paste it in.…
And once that's there let's open up our two files,…main.php and app.yaml.…Let's take a look at main.php first.…This file is similar to the one used in Chapter 3.…You can see the connection variables up top.…You'll note that the username and password…that are listed here on lines three and four…are the ones that are set up for the MySQL Server,…not the Google account.…The default username is root, without a password,…and that's what I have here.…
Next is the database name and we have…just a placeholder here, so let's take a look…and see what the actual database name is…
- Understanding the Google App Engine
- Using the Google Cloud Console
- Setting App Engine services
- Coding your app
- Working with images, style sheets, and other static files
- Incorporating HTML templates
- Uploading and deploying your app
- Implementing Google Cloud Storage
- Setting up a custom domain
Skill Level Intermediate
Object-Oriented Programming with PHPwith Jon Peck1h 57m Intermediate
1. Introduction to Google App Engine
2. Exploring App Engine
Trying out App Engine9m 34s
3. Developing with PHP and App Engine
4. Working with Python and App Engine
5. Implementing App Engine Storage
6. Managing Your Project
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.