テクセル

MySQL5.1でのmy.iniファイル変更例

MySQLのバージョン5.1.73で、以下の[mysqld]部分を変更します。

[mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306


#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.1/"

#Path to the database root
datadir="C:/ProgramData/MySQL/MySQL Server 5.1/Data/"

# The default character set that will be used when a new schema or table is
# created and no character set is defined
#character-set-server=latin1
character-set-server=cp932                                     <---- latin1 を cp932 に変更
skip-character-set-client-handshake                            <----  追加


# The default storage engine that will be used when create new tables when
#default-storage-engine=INNODB
default-storage-engine=MyISAM                                 <--- INNODB を MyISAM に変更

戻る
©2014 TEXCELL CORPORATION