diff --git a/README.md b/README.md index b8b6d34..1541622 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,32 @@ tmux ./ergo run ``` +# MySQL + +``` +mysql_install_db --user=mysql --basedir=/usr/local --datadir=/usr/home/mysql/data +mysql_secure_installation +``` + +Choose your root password, and just hit enter on every other question. + +``` +mysql -p +``` + +``` +CREATE USER 'ergo'@'localhost' IDENTIFIED BY '#FUCKINGADD'; +GRANT ALL PRIVILEGES ON * . * TO 'ergo'@'localhost'; +``` + +``` +mysql -u ergo -p +``` + +``` +create database ergo_history; +``` + CTRL+B, and then D to disconnect from tmux and have it running in the background. All what's left to do is to replace the server name, the B32 address, and all that for whatever you have.\