Connecting to Python Anywhere with Java

I am currently working on a project and originally my group was going to use python so I used the python anywhere database. We needed to switch to Java and now we are having problems connecting. How do you connect to your mysql database on python anywhere from your java code?

do you mean that you have external java code running on your computer/another server (not on PythonAnywhere) that you want to connect to the mysql database? See this


did you take a look at the link?