There are a lot things that could trigger an error. You could have use  *
resp.getWriter().println(e.getMessage());*  instead of  *
resp.getWriter().println("SQLException, world");* * *to see the actual 
error. A few things below might trigger an error.
1. DriverManager.getConnection("jdbc:google:rdbms://----------/guestbook");. 
the --------- should be a valid cloud sql instance name. This could be 
*Example:db1. 
*where *Example* is the name of your cloud sql account and *db1* is the 
name of your instance. On local host this is not required.
2. You must add the app id of this application to the authorized ids of 
your cloud sql instance.
3. You must create a database guestbook in your instance and of course a 
table called entries.
i hope this will help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/_SuGS-sVl3sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to