ここでは、/usr/src にソースを展開する事にします。
# cp mysql-3.22.15-gamma.tar.gz /usr/src
# cd /usr/src # tar zxvf mysql-3.22.15-gamma.tar.gz
ここでは 日本語はEUCを用いる事にしています。
# cd mysql-3.22.15-gamma # ./configure --with-charset=ujis ← EUCを指定 # make
# make install # scripts/mysql_install_db ... To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system ... ... # sh support-files/mysql.server start
# mysql test Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 3.22.15-gamma Type 'help' for help. mysql> exit Bye #
# sh support-files/mysql.server stop Killing mysqld with pid 15724 #