파이썬 증권 트레이딩

MySQL

오이띠 2021. 5. 12. 14:37
728x90

명령프롬프트에서 위와같이 하고 실행하고 

(<코드>는

create database Investar;
create user 'Investar'@'localhost' identified by 'Investar';
grant all privileges on Investar.* to 'Investar'@'localhost';
flush privileges;

)

 

 

 

                                            MySQL Connection 추가한 후, 

 

 

위와같이 Manage Server Connections를 진행한다. [Store in Vault] 에는 비밀번호를 넣는다. 

 

 

그럼 Investar가 실행된다. 

 

 

 

<비밀번호>

참고로, 나는 root의 비밀번호는 manager, 나머지 비밀번호는 이름 그대로 사용했다. 

728x90