1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-06 07:32:46 +00:00
Files
l2jserver2/config/properties/database.properties
Rogiel a8852341fc Implement XML configuration files instead of .properties
Added support for XML configuration files. Instead of each interface
loading it's own file, a single XML file will contain all properties and
parsing XML file will be done at service start.
Created a new annotation: @ConfigurationXPath and removed "name"
argument from @ConfigurationPropertySetter and
@ConfigurationPropertyGetter. Also, moves @ConfigurationName to
ProxyConfigurationService since it is not used by the XML
implementation.
2011-09-16 15:36:31 -03:00

30 lines
1.3 KiB
Properties

# ---------------------------------------------------------------------------
# JDBCDatabaseService configuration
# ---------------------------------------------------------------------------
# Parameters in this file are used by JDBCDatabaseService.
# If you are not sure on the usage of any parameter, read the "Configuration"
# section in wiki article about "JDBCDatabaseService".
# https://github.com/l2jserver2/
# ---------------------------------------------------------------------------
# NOTE: this is the development configuration file. Always remember to add
# new parameters to "dist/config" files too!
# ---------------------------------------------------------------------------
# This defines the connection URL used by JDBC to connect to the database.
# Default: jdbc:mysql://localhost/l2jserver2
jdbc.url = jdbc:mysql://localhost/l2jserver2
# The driver used to connect to the database. Please note that the driver
# library must be available in the JVM classpath.
# Default: com.mysql.jdbc.Driver in MySQL binary distribution or
# org.h2.Driver in H2 binary distribution
jdbc.driver = com.mysql.jdbc.Driver
# The username used to login into the database.
# NOTE: Try not use "root" in production servers!
# Default: l2j
jdbc.username = l2j
# The password used to login into the database.
# Default: changeme
jdbc.password = changeme