Help installing InnoDB

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
AbuAnas
Forum Newbie
Posts: 4
Joined: Tue Aug 19, 2003 4:48 am

Help installing InnoDB

Post by AbuAnas »

I am tring to InnoDB-enable MySQL (ver. 4.0.0 Alpha) on my Win2000 pro machin. But each time I restart the server I got this messege :

mysqld-nt: unrecognized option `--innodb_data_home_dir=c:\phpdev5\mysql\ibdata'
mysqld-nt Ver 4.0.0-alpha-nt for NT on i32


my.cnf file looks like this :


[client]
#password=my_password
port=3306
#socket=MySQL

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# The MySQL server
[mysqld]
port=3306
#socket=MySQL
skip-locking
default-character-set=latin1
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = thread_stack=128K
set-variable = flush_time=1800

# Uncomment the following rows if you move the MySQL distribution to another
# location
basedir = C:/phpdev5/mysql/
datadir = C:/phpdev5/mysql/data/

# Uncomment the following rows if you are using InnoDB tables
# Create the directories ibdata and iblogs before to start the server.
# If necessary, modify the size of the files

innodb_data_file_path = ibdata1:20M:autoextend
innodb_data_home_dir = c:\phpdev5\mysql\ibdata
set-variable = innodb_mirrored_log_groups=1
innodb_log_group_home_dir = c:\phpdev5\iblogs
set-variable = innodb_log_files_in_group=3
set-variable = innodb_log_file_size=30M
set-variable = innodb_log_buffer_size=8M
innodb_flush_log_at_trx_commit=1
innodb_log_arch_dir = c:\phpdev5\iblogs
#innodb_log_archive=0
set-variable = innodb_buffer_pool_size=80M
#set-variable=lower_case_table_names =0
set-variable = innodb_additional_mem_pool_size=10M
#set-variable = innodb_file_io_threads=4
set-variable = innodb_lock_wait_timeout=50

# Uncomment the following row if you are using a Max server and you don't want the
# InnoDb tables

#skip-innobd

[mysqldump]
quick
set-variable = max_allowed_packet=16M

Code: Select all

no-auto-rehash

[isamchk]
set-variable= key=16M

[client_fltk]
#help_file= c:\mysql\sql_client\MySQL.help
#client_file= c:\mysql\MySQL.options
#history_length=20
#database = test
#queries_root= c:\mysql\queries
#last_database_file= c:\mysql\lastdb



=============

I have already created the directories : 

c:\phpdev5\mysql\ibdata
c:\phpdev5\iblogs



AbuAnas
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Not sure, but...

Code: Select all

c:\phpdev5\mysql\ibdata
should probably be

Code: Select all

c:/phpdev5/mysql/ibdata
etc. etc.
AbuAnas
Forum Newbie
Posts: 4
Joined: Tue Aug 19, 2003 4:48 am

Post by AbuAnas »

hi


I tried this but the same messege ..

I don't think the problem is with the value it is rather with the name of the option thu it is already written in the file after installation .. I just uncomment it..

AbuAnas
AbuAnas
Forum Newbie
Posts: 4
Joined: Tue Aug 19, 2003 4:48 am

Post by AbuAnas »

:roll:
Post Reply