reset password
Author Message
esantos2
Posts: 5
Posted 23:06 Apr 24, 2020 |

I am getting error "java.sql.SQLException: Access denied for user 'cs3220stu65'@'localhost' (using password: YES)"

I am following closely to the GuestBook JDBC example, and replaced the student number in url and username + password with my own.

srohani3
Posts: 7
Posted 23:10 Apr 24, 2020 |

Change the URL to this: String url="jdbc:mysql://cs3.calstatela.edu/cs3220stu65";

Last edited by srohani3 at 23:11 Apr 24, 2020.
esantos2
Posts: 5
Posted 23:13 Apr 24, 2020 |
srohani3 wrote:

Change the URL to this: String url="jdbc:mysql://cs3.calstatela.edu/cs3220stu65";

Thank you, it worked. Now if I could get the rest of my code to work...

srohani3
Posts: 7
Posted 23:14 Apr 24, 2020 |

You'r welcome All the best \M/