Try both empty. Works for me couples of weeks back. HTH On Jan 21, 2012 5:53 PM, "Bobert" <balz.r...@googlemail.com> wrote:
> Hello, > > I've tried this example > https://developers.google.com/cloud-sql/docs/developers_guide_javamodified > with following changed code: > > public String getEmployee() throws SQLException { > String name = ""; > > Connection c = null; > c = > DriverManager.getConnection("jdbc:google:rdbms://<Instance>/homecome"); > //c = > DriverManager.getConnection("jdbc:google:rdbms://<Instance>/homecome", > "<username>@googlemail.com", "<pass>"); > ResultSet rs = c.createStatement().executeQuery("Select name FROM > friendgroup"); > > while (rs.next()){ > name += " " + rs.getString("name"); > } > > c.close(); > > return name + " - ok"; > } > > > But unfortunately I get following error. For <Instance>, <username> and > <pass> I use the Right names. The database name is homecome. > > java.sql.SQLException: Access denied for user > '<username>@googlemail.com'@'localhost' > (using password: YES) > > What am I doing wrong, can someone help me? > > Thanks Bobert > > -- > 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/-/fXfwMGYKBF0J. > To post to this group, send email to > google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.