Following the install.txt, I successed running socialsite with Derby
and Glassfish. Now I want replace Derby with MySQL. I edited the file
like:
-----------------------------------------------------------------------------------------------------------------------------------------
#Database information; These are set for default the JavaDB that is
bundled
#with GlassFish for its default configuration
#DATABASE_VENDOR=derby
#DATABASE_USER=APP
#DATABASE_PASSWORD=APP
#JDBC_DRIVER=org.apache.derby.jdbc.ClientDriver
#DATABASE_PORT=1527
#DATABASE_CLASS=org.apache.derby.jdbc.ClientDataSource
#JDBC_BASE_URL=jdbc\:derby\://${AS_SERVER_NAME}\:${DATABASE_PORT}/
#JDBC_CLASSPATH=${SJSAS_HOME}/javadb/lib/derbyclient.jar

DATABASE_VENDOR=mysql
DATABASE_USER=root
DATABASE_PASSWORD=mysql
JDBC_DRIVER=com.mysql.jdbc.Driver
DATABASE_PORT=3306
DATABASE_CLASS=com.mysql.jdbc.jdbc2.optional.MysqlDataSource
JDBC_BASE_URL=jdbc\:mysql\://${AS_SERVER_NAME}\:${DATABASE_PORT}/
JDBC_CLASSPATH=${SJSAS_HOME}/lib/mysql-connector-java-5.1.6-bin.jar
-----------------------------------------------------------------------------------------------------------------------------------------

When I run the command "ant -f setup-glassfish.xml", it didn't create
database "SocialSite_DB" in MySQL and not give any error message.

Does anyone know how to use MySQL for SocialSite with Glassfish?



Vincent


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Implementing OpenSocial Containers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to