#這是我的MySql數據的配置
#本文中我的用計算機的mysql數據庫安裝目錄是“d:webservermysql”
#我的數據庫目錄是“f:sun datamysql data”
#我的計算機的IP地址為192.168.0.2假如是公網IP也是一樣
#[mysqld]部分為mysql的環境配置部分
#[WinMySQLadmin]為數據庫啟動部分
[code]到[/code]之間的為配置環境變量及事務處理數據庫的部分
#本文中使用"#"的部分為注釋行正文部分帶有“#”的為可選的,可以打開
#本文參考了部分mysql的閱讀文件。
[mysqld]
basedir=d:/webserver/mysql
#bind-address=192.168.0.2
datadir=F:/Sun Date/mysql data/
#language=d:/webserver/mysql/share/your language directory
#slow query log#=
#tmpdir#=
#port=3306
[WinMySQLadmin]
Server=d:/webserver/mysql/bin/mysqld-max-nt.exe
user=啟動數據庫的用戶名
password=啟動數據庫的密碼
[code]
innodb_data_file_path = ibdata1:1000M;ibdata2:1000M
innodb_data_home_dir = d:webservermysqlibdata
set-variable = innodb_mirrored_log_groups=1
innodb_log_group_home_dir = d:webservermysqliblogs
innodb_flush_log_at_trx_commit=1
innodb_log_arch_dir = d:webservermysqliblogs
innodb_log_archive=0
set-variable = innodb_buffer_pool_size=80M
set-variable = innodb_additional_mem_pool_size=10M
set-variable = innodb_file_io_threads=4
set-variable = innodb_lock_wait_timeout=50
set-variable = innodb_log_files_in_group=3
set-variable = innodb_log_file_size=30M
set-variable = innodb_log_buffer_size=8M
#set-variable = key_buffer=16M
[/code]