changed the username and password for the mysql server (for which I supidly included my own in the last commit *facepalm*)

This commit is contained in:
Johannes Loher 2017-11-10 14:13:42 +01:00
parent 1e6b119ebd
commit 539ed1720b

View file

@ -23,7 +23,7 @@ public:
override void registerDependencies(shared(DependencyContainer) container) override void registerDependencies(shared(DependencyContainer) container)
{ {
auto mongoClient = connectMongoDB("localhost"); auto mongoClient = connectMongoDB("localhost");
auto pool = new MySQLPool("localhost", "root", "Ilemm3Kzj", "CalendarWebapp"); auto pool = new MySQLPool("localhost", "username", "password", "CalendarWebapp");
container.register!MySQLPool.existingInstance(pool); container.register!MySQLPool.existingInstance(pool);
container.register!MongoClient.existingInstance(mongoClient); container.register!MongoClient.existingInstance(mongoClient);
container.register!(EventStore, MySQLEventStore); container.register!(EventStore, MySQLEventStore);