https://github.com/liinen/vocalist-backend
vloom backend implementation in cloud service, with crawling dataset from karaoke website
https://github.com/liinen/vocalist-backend
connection-pool crawler express mysql ncloud-server pagination python3 selenium
Last synced: about 2 months ago
JSON representation
vloom backend implementation in cloud service, with crawling dataset from karaoke website
- Host: GitHub
- URL: https://github.com/liinen/vocalist-backend
- Owner: LiiNen
- Created: 2021-08-07T05:09:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-27T00:24:48.000Z (about 4 years ago)
- Last Synced: 2025-05-14T19:11:52.971Z (about 1 year ago)
- Topics: connection-pool, crawler, express, mysql, ncloud-server, pagination, python3, selenium
- Language: JavaScript
- Homepage:
- Size: 84 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
``` bash
$ sudo apt-get update
$ sudo apt-get install mysql-server
$ vi /etc/mysql/conf.d/mysql.cnf
```
``` vim
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
```
``` bash
$ vi /etc/mysql/mysql.conf.d/mysqld.cnf
```
``` vim
[mysql]
skip-networking = Off
bind-address = 0.0.0.0 // 모든 ip에 대해서 mysql 접근 허용
```
``` bash
$ systemctl start mysql
$ mysql -u root -p
```
``` sql
CREATE DATABASE vocalist;
USE vocalist;
CREATE TABLE music(musicId int PRIMARY KEY auto_increment, title varchar(30) NOT NULL, artist varchar(20) NOT NULL);
DESC music; // 테이블 조회
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '(password)'; // 모든 ip에 대해서 데이터베이스 접근 허용
```