<commit_before>#!/bin/sh

# postgres
psql --user=postgres -c 'CREATE USER dm_is_reflective'
psql --user=postgres -c  "ALTER USER dm_is_reflective WITH PASSWORD '<PASSWORD>'"
createdb --user=postgres 'dm_is_reflective'
psql --user=postgres -c  'ALTER DATABASE dm_is_reflective OWNER TO dm_is_reflective'

# mysql
mysql5 -u root -p -e 'GRANT USAGE ON dm_is_reflective.* TO dm_is_reflective@localhost IDENTIFIED BY "godfat"'
mysql5 -u root -p -e 'CREATE DATABASE dm_is_reflective'
mysql5 -u root -p -e 'GRANT ALL PRIVILEGES ON dm_is_reflective.* TO "dm_is_reflective"'<commit_msg>setup_db.sh: fix my script to create database<commit_after>#!/bin/sh

# postgres
psql --user=postgres -c 'CREATE USER dm_is_reflective'
psql --user=postgres -c  "ALTER USER dm_is_reflective WITH PASSWORD '<PASSWORD>'"
createdb --user=postgres 'dm_is_reflective'
psql --user=postgres -c  'ALTER DATABASE dm_is_reflective OWNER TO dm_is_reflective'

# mysql
mysql -u root -p -e 'GRANT USAGE ON dm_is_reflective.* TO dm_is_reflective@localhost IDENTIFIED BY "godfat"'
mysql -u root -p -e 'CREATE DATABASE dm_is_reflective'
mysql -u root -p -e 'GRANT ALL PRIVILEGES ON dm_is_reflective.* TO "dm_is_reflective"'
{'fraction_non_alphanumeric': 0.10312764158918004, 'fraction_numerical': 0.00253592561284869, 'mean_word_length': 5.103092783505154, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1408236', 'n_tokens_mistral': 487, 'n_tokens_neox': 452, 'n_words': 133}