How do I change the name of the database in Apache OpenMeetings 2.1.0?
Which parts of the persistence.xml do I change, or do I have to edit some other files too?
I want to change the name of the mysql database from 'openmeetings' to something else, maybe 'db_openmeetings'.
Would really appreciate some help.
Its in the connection properties:
See: mysql://localhost:3306/openmeetings
localhost = host 3306 = port openmeetings = name of database
<property name="openjpa.ConnectionProperties"
value="DriverClassName=com.mysql.jdbc.Driver
, Url=jdbc:mysql://localhost:3306/openmeetings?autoReconnect=true&useUnicode=true&createDatabaseIfNotExist=true&characterEncoding=utf-8&connectionCollation=utf8_general_ci&cachePrepStmts=true&cacheCallableStatements=true&cacheServerConfiguration=true&useLocalSessionState=true&elideSetAutoCommits=true&alwaysSendSetIsolation=false&enableQueryTimeouts=false&prepStmtCacheSize=3000&prepStmtCacheSqlLimit=1000
, MaxActive=100
, MaxWait=10000
, TestOnBorrow=true
, poolPreparedStatements=true
, Username=root
, Password=" />