<commit_before># Default settings for MySQL
# The settings below are geared towards a local database.
# That means a database that is not running as a system service.
# I sometimes find it useful to work on a user-specific MySQL database that isn't a global service.
# Remember to perform this during a fresh installation (it replaces `mysql_secure_installation`):
#
# Execute: `mysql_install_db`.
# Execute: `{ mysqld & } && sleep 2 && mysql`
# Run:
# DELETE FROM mysql.user WHERE User='';
# DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');
# DROP DATABASE test;
# DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%';
# FLUSH PRIVILEGES;
# Then you're in a local MySQL, enjoy!
# By the way, the above makes sure that root can only login on localhost.
# To do a remote login, just use SSH as a proxy first.
# Finish: mysqladmin shutdown

[client]
user=root
port=3306
socket="/tmp/mysql.sock"

[mysql]
pager="less --quit-if-one-screen --no-init --LONG-PROMPT --HILITE-UNREAD --status-column --chop-long-lines --shift .3"

[mysqld]
port=3306<commit_msg>Changed mysql prompt to show user, host and database<commit_after># Default settings for MySQL
# The settings below are geared towards a local database.
# That means a database that is not running as a system service.
# I sometimes find it useful to work on a user-specific MySQL database that isn't a global service.
# Remember to perform this during a fresh installation (it replaces `mysql_secure_installation`):
#
# Execute: `mysql_install_db`.
# Execute: `{ mysqld & } && sleep 2 && mysql`
# Run:
# DELETE FROM mysql.user WHERE User='';
# DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');
# DROP DATABASE test;
# DELETE FROM mysql.db WHERE Db='test' OR Db='test\_%';
# FLUSH PRIVILEGES;
# Then you're in a local MySQL, enjoy!
# By the way, the above makes sure that root can only login on localhost.
# To do a remote login, just use SSH as a proxy first.
# Finish: mysqladmin shutdown

[client]
user=root
port=3306
socket="/tmp/mysql.sock"

[mysql]
pager="less --quit-if-one-screen --no-init --LONG-PROMPT --HILITE-UNREAD --status-column --chop-long-lines --shift .3"
prompt='Ｍ[\u@\h@\d] » '

[mysqld]
port=3306
{'fraction_non_alphanumeric': 0.12339103417665336, 'fraction_numerical': 0.015090989791389259, 'mean_word_length': 4.229698375870069, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5574958', 'n_tokens_mistral': 760, 'n_tokens_neox': 711, 'n_words': 295}