<commit_before>#!/bin/bash

if [ ! -f /root/.my.cnf ]; then
    username="root"
    password=$(<PASSWORD>)

    echo mysql-server mysql-server/root_password password $password | debconf-set-selections
    echo mysql-server mysql-server/root_password_again password $password | debconf-set-selections
    apt-get install -y -q mysql-server
    cat <<EOF > /root/.my.cnf
[client]
user = $username<commit_msg>Run apt-get update before install mysql<commit_after>#!/bin/bash

if [ ! -f /root/.my.cnf ]; then
    username="root"
    password=$(<PASSWORD>)

    echo mysql-server mysql-server/root_password password $password | debconf-set-selections
    echo mysql-server mysql-server/root_password_again password $password | debconf-set-selections
    apt-get -q update
    apt-get install -y -q mysql-server
    cat <<EOF > /root/.my.cnf
[client]
user = $username
{'fraction_non_alphanumeric': 0.12906976744186047, 'fraction_numerical': 0.0, 'mean_word_length': 3.531578947368421, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1878471', 'n_tokens_mistral': 278, 'n_tokens_neox': 271, 'n_words': 67}