@@ -28,12 +28,22 @@ MYSQLDUMP_CMD=$(command -v mysqldump) # The mysqldump program which comes with t
...
@@ -28,12 +28,22 @@ MYSQLDUMP_CMD=$(command -v mysqldump) # The mysqldump program which comes with t
MYSQL_CONFIG_EDITOR_CMD=$(command -v mysql_config_editor) # The mysql_config_editor program which is used to store the credentials.
MYSQL_CONFIG_EDITOR_CMD=$(command -v mysql_config_editor) # The mysql_config_editor program which is used to store the credentials.
# MySQL Connection
# MySQL Connection
MYSQL_HOST=localhost #The host of the MySQL server.
MYSQL_HOST=localhost # The host of the MySQL server.
MYSQL_USER=root # The user for the installation. Note: This is not the user which will then be used by the CaosDB Server.
MYSQL_PORT=3306 # The port number of the MySQL server.
MYSQL_USER=root # The user for the installation. Note: This is not the user
# which will then be used by the CaosDB Server.
# DATABASE
# DATABASE
DATABASE_NAME=caosdb #The name of the database.
DATABASE_NAME=caosdb # The name of the SQL database.
DATABASE_USER=caosdb_user #The user which is used by the CaosDB Server for the connection.
DATABASE_USER=caosdb # The user which is used by the CaosDB Server for accessing
DATABASE_USER_HOST_LIST=localhost, # A comma-separated list of hosts from which MySQL will accept logins. This option follows the MySQL-style for host-names and ip addresses. E.g. `%` is a wildcard for all hosts, `192.168.0.%` permits logins from the local network etc.
# the database.
DATABASE_USER_PW=random1234 # The password for the database user. Leave empty
# if you want to be prompted at make time.
# A comma-separated list of hosts from which MySQL will accept logins. This
# option follows the MySQL-style for host-names and ip addresses. E.g. `%` is a
# wildcard for all hosts, so `192.168.0.%` permits logins from the local
printf"\n\nA database with with the name \"$(DATABASE_NAME)\" does already exist.\nCall 'make drop-$(DATABASE_NAME)' to delete that database or reconfigure with './configure'.\n";\
printf"\n\nA database with with the name \"$(DATABASE_NAME)\" does already exist.\nCall 'make drop-$(DATABASE_NAME)' to delete that database or reconfigure with './configure'.\n";\