Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > MySQL > cannot create innodb tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-03, 01:10
simetz simetz is offline
Registered User
 
Join Date: Mar 2003
Posts: 11
Wink cannot create innodb tables

I have been trying to build tables as innodb with no luck

platform - win2k 1ghz 512mb Ram
my.ini file C:/winnt
[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-max-nt.exe
innodb_data_home_dir = c:\mysql\data
innodb_data_file_path=C:\mysql\data:250M:autoexten d

as per suggestions I have tried "\" and "/" in my.ini file.

mysql-max is running as a service, installed from compiled .zip file, not binaries.

tables are built with type=InnoDB;

but no matter what I do, the have_innodb variable is "DISABLED". and innodb_data_file_path is "", and innodb_home_dir is also "".

Strangely, although BerkleyDB is not supposed to be included in Windows versions, my variables state that Berkley version 3.2.9a is available.

Any help would be appreciated.

Simon

Last edited by simetz : 03-31-03 at 01:23.
Reply With Quote
  #2 (permalink)  
Old 03-31-03, 03:30
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Re: cannot create innodb tables

Quote:
Originally posted by simetz
I have been trying to build tables as innodb with no luck

platform - win2k 1ghz 512mb Ram
my.ini file C:/winnt
[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-max-nt.exe
innodb_data_home_dir = c:\mysql\data
innodb_data_file_path=C:\mysql\data:250M:autoexten d

as per suggestions I have tried "\" and "/" in my.ini file.

mysql-max is running as a service, installed from compiled .zip file, not binaries.

tables are built with type=InnoDB;

but no matter what I do, the have_innodb variable is "DISABLED". and innodb_data_file_path is "", and innodb_home_dir is also "".

Strangely, although BerkleyDB is not supposed to be included in Windows versions, my variables state that Berkley version 3.2.9a is available.

Any help would be appreciated.

Simon



First you need to include innodb variable in [mysqld] section and not in [winmysqladmin]

it look like
innodb_data_file_path = file1:size1;....
innodb_data_home_dir = x:\.....
innodb_log_group_home_dir = x:\.....
innodb_log_arch_dir = x:\.....
set-variable = innodb_mirrored_log_groups=X
set-variable = innodb_log_files_in_group=X
set-variable = innodb_log_file_size=XM
set-variable = innodb_log_buffer_size=XM
innodb_flush_log_at_trx_commit=1
innodb_log_archive=0


Note that MySql will not create any folder you must create this folder before.

Note You may not put data in c:, you may use an other partition
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #3 (permalink)  
Old 03-31-03, 08:46
simetz simetz is offline
Registered User
 
Join Date: Mar 2003
Posts: 11
Re: cannot create innodb tables

Are you stating that if my drive is not partitioned, I cannot use innodb tables??


Quote:
Originally posted by omiossec
First you need to include innodb variable in [mysqld] section and not in [winmysqladmin]

it look like
innodb_data_file_path = file1:size1;....
innodb_data_home_dir = x:\.....
innodb_log_group_home_dir = x:\.....
innodb_log_arch_dir = x:\.....
set-variable = innodb_mirrored_log_groups=X
set-variable = innodb_log_files_in_group=X
set-variable = innodb_log_file_size=XM
set-variable = innodb_log_buffer_size=XM
innodb_flush_log_at_trx_commit=1
innodb_log_archive=0


Note that MySql will not create any folder you must create this folder before.

Note You may not put data in c:, you may use an other partition
Reply With Quote
  #4 (permalink)  
Old 03-31-03, 10:51
bstjean bstjean is offline
Registered User
 
Join Date: Sep 2002
Location: Montreal, Canada
Posts: 219
Re: cannot create innodb tables

Quote:
Originally posted by simetz
I have been trying to build tables as innodb with no luck

platform - win2k 1ghz 512mb Ram
my.ini file C:/winnt
[WinMySQLAdmin]
Server=C:/mysql/bin/mysqld-max-nt.exe
innodb_data_home_dir = c:\mysql\data
innodb_data_file_path=C:\mysql\data:250M:autoexten d

as per suggestions I have tried "\" and "/" in my.ini file.

mysql-max is running as a service, installed from compiled .zip file, not binaries.

tables are built with type=InnoDB;

but no matter what I do, the have_innodb variable is "DISABLED". and innodb_data_file_path is "", and innodb_home_dir is also "".

Strangely, although BerkleyDB is not supposed to be included in Windows versions, my variables state that Berkley version 3.2.9a is available.

Any help would be appreciated.

Simon


Always had problem with that stuff on Windows and was able to make it work by putting double "\" . Here's a section of my my.cnf file:

innodb_data_file_path = tablespace_01:1024M:autoextend
innodb_data_home_dir=C:\\Prog\\MySQL4\\innodb\\tab lespaces
innodb_log_group_home_dir = C:\\Prog\\MySQL4\\innodb\\logs
innodb_log_arch_dir = C:\\Prog\\MySQL4\\innodb\\logs

Hope this helps.
Reply With Quote
  #5 (permalink)  
Old 03-31-03, 13:01
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Re: cannot create innodb tables

Quote:
Originally posted by simetz
Are you stating that if my drive is not partitioned, I cannot use innodb tables??


No it is just a suggestion.
YOu may use a no system partition to store data.
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
  #6 (permalink)  
Old 03-31-03, 13:02
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Re: cannot create innodb tables

Quote:
Originally posted by bstjean
Always had problem with that stuff on Windows and was able to make it work by putting double "\" . Here's a section of my my.cnf file:

innodb_data_file_path = tablespace_01:1024M:autoextend
innodb_data_home_dir=C:\\Prog\\MySQL4\\innodb\\tab lespaces
innodb_log_group_home_dir = C:\\Prog\\MySQL4\\innodb\\logs
innodb_log_arch_dir = C:\\Prog\\MySQL4\\innodb\\logs

Hope this helps.


With Mysql Max and MySql 4 on win 2000
you could use x:\....\...
without trouble
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On