|
@@ -529,6 +529,8 @@ func (server *Server) applyConfig(config *Config) (err error) {
|
529
|
529
|
return fmt.Errorf("Cannot change max-concurrency for scripts after launching the server, rehash aborted")
|
530
|
530
|
} else if oldConfig.Server.OverrideServicesHostname != config.Server.OverrideServicesHostname {
|
531
|
531
|
return fmt.Errorf("Cannot change override-services-hostname after launching the server, rehash aborted")
|
|
532
|
+ } else if !oldConfig.Datastore.MySQL.Enabled && config.Datastore.MySQL.Enabled {
|
|
533
|
+ return fmt.Errorf("Cannot enable MySQL after launching the server, rehash aborted")
|
532
|
534
|
}
|
533
|
535
|
}
|
534
|
536
|
|