日期:2014-05-16 浏览次数:20493 次
bin\mysqld --console
bin\mysql -uroot -p
bin\mysqld --install mysql55--defaults-file="D:\development\mysql\my.ini"
net start mysql55
bin\mysqld --remove mysql55
[client] port=33067 [mysql] [mysqld] port=33067 innodb_flush_log_at_trx_commit=2 interactive_timeout=3600 wait_timeout=3600 default-storage-engine=innodb max_connections=100 tmp_table_size=35M thread_cache_size=4 query_cache_size=0 table_open_cache =256 #basedir=..\ #datadir=..\data\ #table_cache=256 #*** MyISAM Specific options key_buffer_size = 64M myisam_sort_buffer_size = 16M max_allowed_packet = 1M sort_buffer_size = 256K read_buffer_size = 256K read_rnd_buffer_size = 1M #*** INNODB Specific options *** innodb_buffer_pool_size = 256M innodb_log_file_size = 64M innodb_log_buffer_size = 8M innodb_additional_mem_pool_size = 20M innodb_lock_wait_timeout = 50 innodb_thread_concurrency=4 #innodb_data_home_dir=..\data\ basedir=D:\development\mysql datadir=D:\development\mysql\data
set SugarNMS_HOME=%cd% net stop mysql55 %SugarNMS_HOME%\bin\mysqld --remove mysql55 %SugarNMS_HOME%\bin\mysqld --install mysql55 --defaults-file="%SugarNMS_HOME%\my.ini" echo Try to start the mysql55 deamon as service ... net start mysql55