Artifactory provides a script that will execute the SQL commands you need to create your MariaDB database.
You can find the script in
You should review the script and modify it as needed to correspond to your specific environment.
CREATE DATABASE artdb CHARACTER SET utf8 COLLATE utf8_bin; GRANT ALL on artdb.* TO 'artifactory'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;
Once you have verified that the script is correct, you need to run it to create the database and proceed with configuring the database.
If you are running MariaDB database on a Docker container use the following script.
CREATE DATABASE artdb CHARACTER SET utf8 COLLATE utf8_bin; GRANT ALL on artdb.* TO 'artifactory'@'%' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;
Selecting a Case-Sensitive Collation
While MariaDB Database Server is not case-sensitive by default, it is important to select a case-sensitive collation because Artifactory is case-sensitive.
For example, in the
createdb.sql script above COLLATE is set to "
We recommend providing Artifactory with full privileges on the database.