SKJ
SKJ

Reputation: 91

How to install java/mysql connector in XAMPP?

I need to use MySql as a database for my project along with jsp.

If I have MySql server separately i could install in it. But I have XAMPP. If I try to install it in MySql directory of XAMPP somehow, does it works?

Upvotes: 1

Views: 3410

Answers (1)

Youcef LAIDANI
Youcef LAIDANI

Reputation: 59988

If I try to install it in MySql directory of XAMPP somehow, does it works??

Because XAMPP already install MySql and use the default port 3306 so if you want to install a new MySql you need :

  1. Remove XAMPP, and install MySql or,
  2. Install MySql with another port number (this is the best way)

EDIT

You should to include your MySql JDBC Connector in your project class path, because XAMPP It isn't supposed to keep any kind of library.

Upvotes: 1

Related Questions