WEB/Mysql2 Mysql workbench ์ธ๋ถ์ ์ ์ค๋ฅ/Failed to Connect to MySQL at [serverIp] with user mysql์ ์๋ฒ์์ ์ค์นํ๊ณ workbench ์ ์ฐ๊ฒฐํ๋ ค๊ณ ํ๋๋ฐ ๊ทธ๋ฌ๊ธฐ ์ํด์๋ ์ธ๊ฐ์ง ์กฐ๊ฑด์ด ์ ํ๋์ด์ผ ํ๋ค. 1) bind-address๋ถ๋ถ ์ฃผ์์ฒ๋ฆฌ -> mysql์ ์ธ๋ถ์์๋ ์ ์ ํ๋๋ก ํ์ฉํ๋ ์์ ์๋ ์ฝ๋๋ฅผ ์๋ฒ์ ์ ์ํ ์ํ์ putty ์ฐฝ์ ์ ๋ ฅํด bind-address๋ถ๋ถ์ ์ฃผ์์ฒ๋ฆฌ ํ๋์ง ํ์ธ sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf 2) ํด๋น IP ํน์ ๋ชจ๋ IP(%)์์ ์ ๊ทผ ๊ฐ๋ฅํ ๊ณ์ ์์ฑ ์๋ ์ฝ๋๋ฅผ ํตํด mysql์ root๊ณ์ ์ผ๋ก ๋ก๊ทธ์ธ ํ ๋ค mysql -u root -p ์๋ ์ฝ๋๋ฅผ ์ ๋ ฅํด์ userํ ์ด๋ธ์ ํ์ธํ๋ค. SELECT Host,User,plugin,authentication_string FROM mysql.user.. WEB/Mysql 2021. 7. 22. Mysql ๋น๋ฐ๋ฒํธ ์ค๋ฅ ํด๊ฒฐ ๋ฐฉ๋ฒ[ERROR 1045] mysql์ ๋น๋ฐ๋ฒํธ๋ฅผ ์์ด๋ฒ๋ ค์ ๋ค์ ์ค์ ์ ํ๋ ค๊ณ ํ๋๋ฐ ์๋์ ๊ฐ์ ๋ฐฉ๋ฒ์ ์๋ํ์๋ค. http://blog.daum.net/danus123/168 mysql ๋น๋ฐ๋ฒํธ ๋ถ์ค์ ์ฌ์ค์ ์ต์ข ํด๊ฒฐ์ฑ https://toytvstory.tistory.com/1617 ๋ธ๋ก๊ทธ์ ๋ค์ด๊ฐ์ ๋ณผ ๊ฒ! ๊ผญ ํด์ผํ ๊ฒ! [์์ ๊ด๋ฆฌ์์์ mysql๊ณผ ๊ด๋ จ๋ mysqld์ ๊ฐ์ ํ์ผ์ ์ข ๋ฃ์์ผ์ค๋ค ํ๋ค] ์์ ๊ด๋ฆฌ์ ์ฌ๋ ๋ฒ : ๋ง์ฐ์ค ์ค๋ฅธ์ชฝ ํด blog.daum.net ๊ทธ๋ฐ๋ฐ ์ดํ ๋ก๊ทธ์ธ์ ํ๋ คํ๋ ๋ฐ๋ ๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํด๋ ์๊พธ ๋น๋ฐ๋ฒํธ๊ฐ ํ๋ฆด ๋ ๋จ๋ ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ค. ์คํ.. WEB/Mysql 2021. 1. 16. ์ด์ 1 ๋ค์