reset password
Author Message
hensan
Posts: 23
Posted 13:12 May 21, 2013 |

Hi, professor.

I'm getting an access denied when running the HelloJDBC and HelloSQL.jsp files on the cs3 server.

I followed the guide step by step but I'm getting the denied access error.

Here is the error I'm getting:

java.sql.SQLException: Access denied for user 'cs320stu#'@'localhost' (using password: YES)

What do you think I should do?

cysun
Posts: 2935
Posted 15:09 May 21, 2013 |

Use your account name, not "cs320stu#".

hensan
Posts: 23
Posted 19:13 May 21, 2013 |

Hi, professor.

Here is what I'm getting:

java.sql.SQLException: Access denied for user 'cs320stu22'@'localhost' (using password: YES)

Maybe it has to do something with my permissions.

What do you think?

Last edited by hensan at 19:14 May 21, 2013.
hensan
Posts: 23
Posted 19:14 May 21, 2013 |

I corrected the previous submission.

Last edited by hensan at 19:15 May 21, 2013.
hensan
Posts: 23
Posted 20:10 May 21, 2013 |

I figure it out.

I was using my local root password instead of my cs3 server password.

I changed the passwords and now I'm able to display the HelloSQL.jsp and HelloJDBC files.

Last edited by hensan at 20:10 May 21, 2013.