Web Serving benchmark db_server question
ryuxin opened this issue · 2 comments
ryuxin commented
There is a file named my.cnf
in the path benchmarks/web-serving/db_server/files/
.
How is that file used when building the db_server
docker image? I do not find any place to use that file.
ryuxin commented
similar question to generate_users.sh
file.
I do not know how to use it
xusine commented
Sorry for the late reply.
my.cnf
is needed in the early version of the database server, to specify the listen address. However, now this part is replaced by this line: https://github.com/parsa-epfl/cloudsuite/blob/main/commons/mysql/mariadb-10.3/Dockerfile#L15generate_users.sh
is used to generate the database initialization fileelgg_db.dump
. ELGG cannot directly runs over an empty database.
Feel free to reopen if you have further questions.
Best,