Hello, im am making a website with a MySQL database connected to it. I am getting an error and i think it could be that i dont have any environmental veriables set up for MySQL. The conection code is in java and i think its correct. Dose anybody know do i need to set up Environmental Varialbles to get my database going and if so how to do it. Any feedback would be much apprecited. Thanks
At what point are you getting the error? Can you start the database? Can you access it from the command line? All these things will help in narrowing down the problem to a point where we can help.
Heya, Yea I can start the database in the command line and view the tables. The problem im having is when I run the page with the java connection code in it from internet explorer. When it starts up I get an error. I don’t think it’s the connection code is the problem. It says the problem is this line of code Import java.sql.*; But this is the first line of code so I think it is not recognising any of it and it is giving an error with the first bit of java it comes across. I think it might be something to do with the environmental variables. I have only set up JAVA_HOME. Do I need any for MySQL? Thanks for your time