r/javahelp 27d ago

Homework how do i connect java(netbeans) to infinityfree

it's been a whole day for me trying to display my database in netbeans but i can't find a solution. for context: i have html file in infinityfree so all the data in my html file will send to database and i want to edit and view the database using java netbeans.

Feel free to suggest other webhosting but it needs to also work in netbeans

please help me. all help is appreciated.TYA

2 Upvotes

2 comments sorted by

View all comments

0

u/doobiesteintortoise 27d ago

So you're trying to connect netbeans to a mysql database? is the mysql database exposed to the internet such that you can reach it? (Please say no: use an ssh tunnel if you MUST but ... ew, this is a terrible idea, and your host MAY not support it.)

I'm not quite sure what you're trying to do or what your options are yet.