mysql-3.23.52-3에 있는 데이터를 MySQL-4.1.22-0 옮기기 위하여
mysql-3.23.52-3가 설치된 시스템에서
mysqldump -u root --all-database --qoute-names > temp.sql
MySQL-4.1.22-0가 설치된 시스템에
mysql -u root < temp.sql
/etc/init.d/mysql restart를 하고
php로 만든 홈페이를 실행하면 아주 잘됩니다...
그런데 에로 로그를 보면
[Warning] mysql.user table is not updated to new password format; Disabling new password usage until mysql_fix_privilege_tables is run
/usr/sbin/mysqld: ready for connections.
라고 뜹니다,...
그래서 mysql_fix_priveilege_tables를 실행하면 에러가 사라집니다..
하지만 php로 만든홈페이지에 로그인을 실패합니다...
아무래도 mysql_fix_priveilege_tables를 실해아면 utf8로 변환되면 글자가 깨지는것 같은데 어떻게 해야하나요??
참고로 두버전 모두 status로 확인해 본결과
charater type은 latin1 이였습니다..;;;
이걸 어떻게 하죠??
|