Where to put mysql-connector-java folder
I have Suse Linux 8.0 installed on my system. I have downloaded the mySQL connector so that I will be able to connect to mySQL database through JavaScript. I have no idea where to put that folder. so that I may be able to connect to the database. I also need to know the command line to connect the mySQL database please. it's urgent
|
Are you sure you can connect to mysql with javascript? Are you using java script as a server side script?
Normaly you access a database from a server and you use something like php or jsp. To access the database, you have to connect to the database. For example in php you use something like: <?php $bd = mysql_connect("localhost", "dbUsername", "password"); mysql_select_db("$dbName",$bd); ?> Hope I was helpful |
All times are GMT -5. The time now is 02:28 PM. |