Relative Content

Tag Archive for javasql-serverdatabaseswing

My Java application keeps using the wrong database, even though I specified which one to use

I was working on a college project for a Java application which uses the Swing library. Everything seemed to be going really well, but suddenly, when I used git on my university’s notebook to pull the project, things started to go downhill. The problem here is I cannot make it access the correct database, even though it’s already set up in this new PC’s SQL Server instance. Also, I’ve already changed the username and password in order to have access to the SQL Server instance running on my college’s notebooks. Everything seems to be as it should on both the database side and on the frontend side.