problem with MySql Embedded Server with InnoDB engine
Moderators: gto, EgonHugeist
problem with MySql Embedded Server with InnoDB engine
Hello:
I´m new user but i have a lot of time Reading this foro.
I have a problem with MySql Embedded Server with InnoDB engine. The projet show a Message “SQL Error: unknown table engine ‘InnoDB’”
I use Delphi 2007, Zeos 6.6.4-stable and My Sql 5.1 server. The same project with a database with myisan engine works fine
What's the problem? Embedded server don’t work with a InnoDB engine?
Thanks for your help. greetings. Leo.
I´m new user but i have a lot of time Reading this foro.
I have a problem with MySql Embedded Server with InnoDB engine. The projet show a Message “SQL Error: unknown table engine ‘InnoDB’”
I use Delphi 2007, Zeos 6.6.4-stable and My Sql 5.1 server. The same project with a database with myisan engine works fine
What's the problem? Embedded server don’t work with a InnoDB engine?
Thanks for your help. greetings. Leo.
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Hi,
Maybe a stupid question, but you didn't copy this from the embedded example in the zeoslib packages (dfm file):
Because that disables the innodb engine on startup.
Mark
Maybe a stupid question, but you didn't copy this from the embedded example in the zeoslib packages (dfm file):
Code: Select all
object EmbeddedConnection: TZConnection
Protocol = 'mysqld-4.1'
Database = 'zeoslib'
Properties.Strings = (
'compress=yes'
'dbless=no'
'useresult=no'
'timeout=30'
'ServerArgument1=--basedir=./'
'ServerArgument2=--datadir=./data'
'ServerArgument3=--character-sets-dir=./share/charsets'
'ServerArgument4=--language=./share/english'
'ServerArgument5=--skip-innodb'
'ServerArgument6=--key_buffer_size=32M')
Left = 232
Top = 176
end
Mark
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Can you execute the statement?
What's the result for innodb?
Mark
Code: Select all
show variables like 'have%'
Mark
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
This means your version of the embedded library isn't compiled with Innodb support. I'm using 5.0 version on windows. My version shows 'disabled' in stead of 'NO', which means support would be available when I had not set the skip-innodb option.
So I guess you'll have to look for an embedded server version which supports innodb.
Mark
So I guess you'll have to look for an embedded server version which supports innodb.
Mark