꾸준히 안타치기

Mysql workbench 연결 에러 해결 본문

Server & DB

Mysql workbench 연결 에러 해결

글자줍기 2021. 3. 12. 23:55
반응형

발생에러 1

Your connection attempt failed for user 'root' from your host to server at localhost:3306:
  Access denied for user 'root'@'localhost'

Please:
1 Check that mysql is running on server localhost
2 Check that mysql is running on port 3306 (note: 3306 is the default, but this can be changed)
3 Check the root has rights to connect to localhost from your address (mysql rights define what clients can connect to the server and from which machines) 
4 Make sure you are both providing a password if needed and using the correct password for localhost connecting from the host address you're connecting from

 

해결

 

1. 상단의 데이타베이스 -> 커넥스 데이터 베이스 클릭

2. parameters에  username을 root->내 아이디로 변경 ->OK

3.다시 첫화면으로 돌아가고 비번입력창이 뜨면, 비번을 입력한다.

 

 

 

발생에러 2

DB만들때 권한허용 /

bscnote.tistory.com/77

 

ubuntu에서 mysql의 root계정이 로그인 안될때.

참고: https://stackoverflow.com/questions/39281594/error-1698-28000-access-denied-for-user-rootlocalhost ubuntu같은 일부 리눅스 시스템에서 mysql을 설치하고 $ mysql -u root -p 으로 로그인 시도를하면..

bscnote.tistory.com

 

반응형

'Server & DB' 카테고리의 다른 글

Mysql  (0) 2021.03.15
PHP + MYSQL 리눅스에서 DB 만들고, 표생성/ 데이터 넣기  (0) 2021.03.14
vscode ftp-simple 연동  (0) 2021.03.12
어떻게 돌아가는가?  (0) 2021.03.08
PHP 우분투 리눅스+V-BOX+A.P.M 설치..  (0) 2021.03.08
Comments