Skip to content
Permalink
Browse files
This closes #1155
  • Loading branch information
ahgittin committed Jan 19, 2016
2 parents ae01e5e + 12128ff commit 717c79b8e39ac736925d3dab38e1fe7ca85d66cd
Showing 2 changed files with 7 additions and 0 deletions.
@@ -75,6 +75,9 @@ public interface MySqlNode extends SoftwareProcess, HasShortName, DatastoreCommo
@SetFromFlag("socketUid")
StringAttributeSensorAndConfigKey SOCKET_UID = new StringAttributeSensorAndConfigKey(
"mysql.socketUid", "Socket uid, for use in file /tmp/mysql.sock.<uid>.3306 (or randomly generated if not set)", null);

@SetFromFlag("generalLog")
ConfigKey GENERAL_LOG = ConfigKeys.newBooleanConfigKey("mysql.general_log", "Enable general log", false);

/** @deprecated since 0.7.0 use DATASTORE_URL */ @Deprecated
AttributeSensor<String> MYSQL_URL = DATASTORE_URL;
@@ -13,6 +13,10 @@ socket = /tmp/mysql.sock.${entity.socketUid}.${driver.port?c}
basedir = ${driver.baseDir}
datadir = ${driver.dataDir}
bind-address = 0.0.0.0
log_error = ${driver.runDir}/mysql_error_${entity.getId()}.log
log_warnings = 2
general_log = ${config["mysql.general_log"]?string('on','off')}
general_log_file = ${driver.runDir}/mysql_general_${entity.getId()}.log
# skip-networking

#Prevent the GRANT statement from automatically creating new user accounts if it would otherwise do so,

0 comments on commit 717c79b

Please sign in to comment.