LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-08-2004, 05:51 PM   #1
dukehazord
LQ Newbie
 
Registered: Aug 2004
Location: Dublin
Posts: 3

Rep: Reputation: 0
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
 
Old 09-10-2004, 11:30 AM   #2
el_pajaro!
Member
 
Registered: Sep 2003
Location: Ecuador
Distribution: Debian, Ubuntu, Elastix
Posts: 183

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql and mysql java connector, connection refused arubin Slackware 3 03-29-2008 01:41 AM
Can I place mysql dbs in a folder that I define macmichael01 SUSE / openSUSE 5 06-28-2005 01:35 PM
Where do I put the symlink to java rickh Debian 6 05-09-2005 06:22 AM
java and mysql linux_ub Programming 5 06-24-2004 10:59 AM
In wich folder do I have to install Java? fedivh Linux - Software 2 02-08-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration