본문 바로가기
카테고리 없음

MySQL Workbench 설치 또는 Failed to Connect to MySQL at 127.0.01:3306 with user root 에러 해결

by artra 2023. 7. 31.
반응형

 

MySQL Workbench

Failed to Connect to MySQL at 127.0.01:3306 with user root

Unable to connect to localhost

 

MySQL 설치후 위같은 에러가 뜬다면

 

 

https://dev.mysql.com/downloads/windows/installer/8.0.html

 

MySQL :: Download MySQL Installer

Note: MySQL 8.0 is the final series with MySQL Installer. As of MySQL 8.1, use a MySQL product's MSI or Zip archive for installation. MySQL Server 8.1 and higher also bundle MySQL Configurator, a tool that helps configure MySQL Server.

dev.mysql.com

 

위 사이트를 들어간다음에

 

맨 아래 331.3M 용량을 다운로드한다. (32-bit???? 안심하자 좀있다보면 64-bit 가 나온다)

 

다운로드받은 파일을 클릭하면 Choosing a Setup Type 에서 Custom 설정 후 Next

 

왼쪽 칸 Available Products 에서 +를 누른뒤

Server 와 Workbench 를 추가한다

 

Excute 를 누르면 두개의 녹색 체크가 뜨면 Next

 

Next~

 

아래 Use Legacy Authentication Method 선택후 Next

 

비밀번호 설정하기 저는 8자리로 설정함 그리고 Next

 

EXCUTE를 누르면 모든 녹색표시가 뜨고 Finish 클릭

 

Finish ~!

 

아까 설정한 8자리 비번 입력!

 

그러면 완료!

 

이제 Download MySQL Sample Database 다운로드

 

https://www.mysqltutorial.org/mysql-sample-database.aspx

 

MySQL Sample Database

This page provides you with a MySQL sample database that helps you to practice with MySQL effectively and quickly. You can download the sample database and load it into your MySQL Server.

www.mysqltutorial.org

 

노란색 체크에 텍스트를 클릭하면 

 

파일을 다운로드하고 압축을풀면 위 파일이 보인다.

 

 

왼쪽 상단 File 탭 - Open SQL Script 에서 다운받은 파일을 열 수 있다.

 

사용방법은 추후에...

반응형

댓글