설치
#>yum install mysql mysql-server
실행
#> /etc/rc.d/init.d/mysqld start
함 드가본다
#>mysql -u -p
Innodb확인 함 해보고
mysql>show variables like 'have_innodb';
자동 실행 설정
#>chkconfig mysqld on
my.cnf복사
#>cp /usr/share/mysql/my-huge.cnf /etc/my.cnf
my.cnf 수정
#>vi /etc/my.cnf
[client]
default-character-set = utf8
[mysqld]
init_connect = SET collation_connection = utf8_general_ci
init_connect = SET NAMES utf8
default-character-set = utf8
character-set-server = utf8
collation-server = utf8_general_ci
[mysqldump]
default-character-set=utf8
[mysql]
default-character-set=utf8
비밀번호 설정
# >mysqladmin -u root password '설정비밀번호'
댓글 없음:
댓글 쓰기