[php & mysql] Error #1289 InnoDB is niet aanwezig?

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

  • wilcodl
  • Registratie: September 2004
  • Laatst online: 24-06 21:35
Hoi, ik gebruik mysql 5.0.15, iis 6.1 en php 5.0.5, als ik een InnoDB database wil invoegen geeft PHPMyadmin 2.6.4 pl3 deze foutmelding:

#1289 - The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working

Maar bij het installeren van mysql heb ik innodb ook gewoon geinstalleerd.
Weet iemand hoe het komt dat ik deze foutmelding krijg? Heb al op google en got gezocht, maar vond niemand met hetzelfde probleem. ook heb ik in my.ini gekeken, maar dat leek ook allemaal goed.
bvd

Acties:
  • 0 Henk 'm!

  • Gertjan
  • Registratie: Oktober 2001
  • Laatst online: 09-09 17:11

Gertjan

mmmm, beer...

En wat staat er als je op het beginscherm van PhpMyAdmin op 'Storage Engines' klikt: staat InnoDB daar wel bij? Kun je de regels uit de config die volgens jou aangeven dat InnoDB aan staat eens kopieren?

Acties:
  • 0 Henk 'm!

  • frickY
  • Registratie: Juli 2001
  • Laatst online: 18-09 14:42
Denk dat hij de benodigde DLLs niet kan vinden. Staat het juiste pad in my.ini en staan de benodigde bestanden ook in die map?

Of heti s een optie in PhpMyAdmin welke niet goed staat? Al geloof ik dat dergelijke instellingen automatisch gebeuren.

Wat krijg je als je vaanf de mysql prompt een tabel probeerd te maken?
CREATE TABLE {..} type=InnoDB

[ Voor 48% gewijzigd door frickY op 06-11-2005 15:43 ]


Acties:
  • 0 Henk 'm!

  • wilcodl
  • Registratie: September 2004
  • Laatst online: 24-06 21:35
Als ik in beginscherm van phpmyadmin op storage engines klik zie ik innodb daar tussen staan in het grijs, myisam is blauw. Als ik op innodb klik krijg ik de volgende melding:

InnoDB
Supports transactions, row-level locking, and foreign keys

This MySQL server does not support the InnoDB storage engine.

Data home directory
Data files ibdata1:10M:autoextend
Autoextend increment 8
Buffer pool size 78.848 KB


Dit is een gedeelte van my.ini :

#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/httpd/mysql/"

#Path to the database root
datadir="C:/httpd/mysql/data/"

# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=latin1

# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB

#*** INNODB Specific options ***


# Use this option if you have a MySQL server with InnoDB support enabled
# but you do not plan to use it. This will save memory and disk space
# and speed up some things.
#skip-innodb

# Additional memory pool that is used by InnoDB to store metadata
# information. If InnoDB requires more memory for this purpose it will
# start to allocate it from the OS. As this is fast enough on most
# recent operating systems, you normally do not need to change this
# value. SHOW INNODB STATUS will display the current amount used.
innodb_additional_mem_pool_size=2M

# If set to 1, InnoDB will flush (fsync) the transaction logs to the
# disk at each commit, which offers full ACID behavior. If you are
# willing to compromise this safety, and you are running small
# transactions, you may set this to 0 or 2 to reduce disk I/O to the
# logs. Value 0 means that the log is only written to the log file and
# the log file flushed to disk approximately once per second. Value 2
# means the log is written to the log file at each commit, but the log
# file is only flushed to disk approximately once per second.
innodb_flush_log_at_trx_commit=1

# The size of the buffer InnoDB uses for buffering log data. As soon as
# it is full, InnoDB will have to flush it to disk. As it is flushed
# once per second anyway, it does not make sense to have it very large
# (even with long transactions).
innodb_log_buffer_size=1M

# InnoDB, unlike MyISAM, uses a buffer pool to cache both indexes and
# row data. The bigger you set this the less disk I/O is needed to
# access data in tables. On a dedicated database server you may set this
# parameter up to 80% of the machine physical memory size. Do not set it
# too large, though, because competition of the physical memory may
# cause paging in the operating system. Note that on 32bit systems you
# might be limited to 2-3.5G of user level memory per process, so do not
# set it too high.
innodb_buffer_pool_size=77M

# Size of each log file in a log group. You should set the combined size
# of log files to about 25%-100% of your buffer pool size to avoid
# unneeded buffer pool flush activity on log file overwrite. However,
# note that a larger logfile size will increase the time needed for the
# recovery process.
innodb_log_file_size=39M

# Number of threads allowed inside the InnoDB kernel. The optimal value
# depends highly on the application, hardware as well as the OS
# scheduler properties. A too high value may lead to thread thrashing.
innodb_thread_concurrency=8

Acties:
  • 0 Henk 'm!

  • wilcodl
  • Registratie: September 2004
  • Laatst online: 24-06 21:35
frickY schreef op zondag 06 november 2005 @ 15:37:
Denk dat hij de benodigde DLLs niet kan vinden. Staat het juiste pad in my.ini en staan de benodigde bestanden ook in die map?
Welke bestanden zijn dat dan?

[ Voor 30% gewijzigd door wilcodl op 06-11-2005 16:20 ]


Acties:
  • 0 Henk 'm!

  • wilcodl
  • Registratie: September 2004
  • Laatst online: 24-06 21:35
ff kickje, kom er nog niet uit:
dit staat op mysql.com over deze fout:

Error: 1289 SQLSTATE: HY000 (ER_FEATURE_DISABLED)
Message: The '%s' feature is disabled; you need MySQL built with '%s' to have it working

maar wordt er niet veel wijzer van, alleen dat ik verkeerde versie heb, maar bij de installer zou de support voor innodb toch gewoon aanwezig moeten zijn?
ben nu ff de versie zonder installer aan het downloaden, kijken dat wel goed werkt.

Acties:
  • 0 Henk 'm!

  • frickY
  • Registratie: Juli 2001
  • Laatst online: 18-09 14:42
Roep deze pagina van PhpMyAdmin eens op;
/server_status.php?lang=en-iso-8859-1&server=1&innodbstatus=1
Pagina: 1