프로그램/mysql
mysql 다시 깔기.
(주)CKBcorp.,
2014. 3. 15. 23:06
반응형
http://jongwons.wordpress.com/2011/09/01/centos-%EC%97%90-mysql-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0/
http://spongebody.egloos.com/3530932
1. VMWare Player 로 서로 ip 통신
-> VMWare Player 와 host 인 window 에서
ifconfig / ipconfig 로 확인하면 된다.
2. mysql 이 설치되어 있는지 확인.
yum install mysql-client mysql-server
-> yum install mysql mysql-server
> 아직 mysql 이 실행되지 않았다.
/etc/rc.d/init.d
mysqladmin -u root -p password 'pass1'
mysql -uroot -p pass1 -> 실패
/etc/init.d/mysqld restart -> 실패 ( use user / select host,user,password from user 로 root 계정권한을 확인해 보면 된다.
mysql
use mysql;
update user set password=password('pass1') where user='root';
select host,user,password from user
flush privileges;
재접속 /
성공
입력시작시간:
모바일 스크립트 :
반응형