So I am trying to connect to my server, I had it working before but now I moved to a different machine it's not working as you can see below.
I have added the MySQL driver into my path and I'm not sure what the problem could be.
Any ideas?
Thanks.
So I am trying to connect to my server, I had it working before but now I moved to a different machine it's not working as you can see below.
I have added the MySQL driver into my path and I'm not sure what the problem could be.
Any ideas?
Thanks.
You indeed have defined that MySQL connector is a library for your project, but you also need to add it as a module dependency on the Modules tab in Project Structure.
If you haven't dependency management such as maven (gradle, etc), create lib folder in project root folder. Move jar to lib folder and right click on it and select "Add as library". This should help you.