MySQL
このコミットが含まれているのは:
コミット
1bc45ce869
26
README.md
26
README.md
|
@ -80,6 +80,32 @@ tmux
|
||||||
./ergo run
|
./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.
|
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.\
|
All what's left to do is to replace the server name, the B32 address, and all that for whatever you have.\
|
||||||
|
|
読み込み中…
新しいイシューから参照