# rpm -qa | grep mysql
위 두명령어를 쳤을때, mysql이 안깔려 있는게 확인 되면 새로 설치를 하자.# service --status-all
우선 yum을 업데이트 하고 mysql5.6을 설치한다.[root@home]# yum update . . . [root@home]# yum install mysql56-server
설치후에 service 목록을 조회해보면, mysqld서비스가 목록에 나타난것을 볼 수 있다.[root@home]# service --status-all . . . mdmonitor is stopped messagebus (pid 2350) is running... mysqld is stopped netconsole module not loaded Configured devices: lo eth0 . . .
그럼 위와 같이 mysqld서비스를 시작하고, mysqladmin으로 root비밀번호를 설정해 준다.[root@home]# service mysqld start . . . Starting mysqld: [ OK ] [root@home] [root@home]# mysqladmin -u root password