I am trying to install Servoy Server without the PostgreSQL database. Instead I want to use MySQL.
Hence, I followed the recommendation at: http://wiki.servoy.com/display/public/D ... +databases
I used the following servoy.properties file:
- Code: Select all
# Servoy properties file
# NOTE: At least one connection must be called 'repository_server' !!
# Number of servers defined in this file
ServerManager.numberOfServers=1
# Definition 1
server.0.serverName=repository_server
server.0.URL=jdbc\:mysql\://localhost/srms_repository
server.0.driver=com.mysql.jdbc.Driver
server.0.userName=srms
server.0.password=password
server.0.schema=<none>
server.0.catalog=<none>
#start database engine
waitForNativeStartup=false
#for use by pdf_forms plugin
pdf_forms_plugin_servername=pdf_forms
#network config
SocketFactory.useTwoWaySocket=true
SocketFactory.useSSL=true
java.rmi.server.hostname=127.0.0.1
servoy.rmiStartPort=1099
servoy.application_server.startRepositoryAsTeamProvider=false
I also put the JDBC Driver for MySQL in the correct application_server\drivers directory. The MySQL database is running, permissions granted, etc.
Then, I start the server with the upgradeRepository flag:
- Code: Select all
servoy_server.bat -upgradeRepository
Still, I keep getting this error message in the command line window: Cannot upgrade repository: make a backup of your repository and start server with -upgradeRepository flag.
Or as appear in the servoy_log file:
2012-08-31 22:46:58,546 ERROR [main] com.servoy.j2db.util.Debug - Cannot upgrade repository: make a backup of your repository and start server with -upgradeRepository flag. [ ]
I also tried these URLs in the properties file:
server.0.URL=jdbc:mysql://localhost/srms_repository
server.0.URL=jdbc:mysql://localhost:3306/srms_repository
server.0.URL=jdbc:mysql\://localhost\:3306/srms_repository
And I tried these driver notations:
com.mysql.jdbc.Driver
com.mysql.jdbc.NonRegisteringDriver
A few times I removed everything and I installed everything again. Any idea of what am I be doing wrong or missing?
Thank you in advance for any help!
Best, Carlos