case Computer :

MySQL 원격접속 하기

거곰 2009. 3. 18. 13:43
mysql 원격접속 권한 설정

>use mysql;
>grant all privileges on *.* to 'root'@'192.168.1.1' identified by 'passwd';
>flush privileges;


원격지에 접속 방법은 -h 옵션

#>mysql -h host -u user -p


반응형