Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lamberta Schmidt   on Nov 25 In Java Category.

  
Question Answered By: Jennie Harris   on Nov 25

missing driver would cause in class not found exception, not "unable to listen
on port  3306 on host localhost."

The problem is that you are launching  Derby database  on port 3306, which of
course you can not do since mysql  is already listening on that port.
you are not configuring glassfish to connect to MySQL, you are configuring it
with Derby and telling derby to listen on 3306.

Here you are configuring Derby:
start-database --terse=false --dbhost localhost  --dbport 3306 --echo=true
--dbhome /Users/oliviersaint-eve/Downloads/glassfish/javadb

configure glassfish with mysql.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on error while launching a mysql database with glassfish Or get search suggestion and latest updates.


Tagged: