<commit_before>#!/bin/bash

MY_DIR=$(dirname $0)
mysql -u$2 --password=$3 --database=thinkbig -B -N -e "SHOW TABLES" | awk '{print "SET foreign_key_checks = 0; ALTER TABLE", $1, "CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; SET foreign_key_checks = 1; "}' | mysql --database=thinkbig
mysql -f -h $1 -u$2 --password=$3 < ${MY_DIR}/schema-0.4.2-upgrade.sql
echo "Updated to 0.4.2 release";
<commit_msg>pc-776 access denied/missing password param<commit_after>#!/bin/bash

MY_DIR=$(dirname $0)
mysql -u$2 --password=$3 --database=thinkbig -B -N -e "SHOW TABLES" | awk '{print "SET foreign_key_checks = 0; ALTER TABLE", $1, "CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; SET
foreign_key_checks = 1; "}' | mysql --database=thinkbig -u$2 --password=$3
mysql -f -h $1 -u$2 --password=$3 < ${MY_DIR}/schema-0.4.2-upgrade.sql
echo "Updated to 0.4.2 release";

{'fraction_non_alphanumeric': 0.17261219792865362, 'fraction_numerical': 0.04487917146144994, 'mean_word_length': 4.304878048780488, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '6606587', 'n_tokens_mistral': 349, 'n_tokens_neox': 327, 'n_words': 94}