Enable MySQL InnoDB Storage Engine Support in XAMPP Installation Consentire MySQL InnoDB motore di memorizzazione sostegno in XAMPP installazione

XAMPP from Apache Friends XAMPP da Apache amici is a collection of free open source apps that make it easy to install Apache distribution containing MySQL, PHP and Perl. è una raccolta di sorgente aperto libero applicazioni che la rendono facile da installare la distribuzione di Apache MySQL, PHP e Perl. There are four XAMPP distributions for Windows, Linux, Mac OS X and Solaris. Ci sono quattro XAMPP distribuzioni per Windows, Linux, Mac OS X e Solaris. To set up an Apache web server with XAMPP, simply download and extract XAMPP, and the Apache HTTPD web server is ready after one or two more auto-execute scripts. Di istituire un web server Apache con XAMPP, è sufficiente scaricare ed estrarre XAMPP, e httpd Apache web server è pronto dopo uno o due di più l'auto-esecuzione di script. There are no changes to the Windows registry (unless you’re using Widows installer version of XAMPP) and it’s not necessary to edit any configuration files. Non vi sono modifiche al Registro di sistema di Windows (a meno che non si sta utilizzando vedove di installazione versione di XAMPP) e non è necessario modificare qualsiasi file di configurazione.

However, by default, InnoDB MySQL database storage engine is not enabled in the my.cnf configuration file. Tuttavia, per impostazione predefinita, database MySQL InnoDB motore di memorizzazione non è attivato nel file di configurazione my.cnf. If a webmaster plans to use InnoDB features, such as one to many or many to many table relationships on foreign key constraints, or transaction-safe commands such as commit, rollback and crash recovery capabilities. Se un webmaster progetta di utilizzare InnoDB caratteristiche, come ad esempio uno a molti o molti-a-molti rapporti di tabella a vincoli di chiave esterna, o una transazione sicura-comandi come impegnarsi, di ripristino e recupero crash capacità.

To enable the support of MySQL server on InnoDB storage engine, locate the “my.cnf” config file (normally in / installation_path /xampp/mysql/bin/ directory), and edit the my.cnf with any text editor such as vi. Per attivare il supporto di server MySQL InnoDB a motore di memorizzazione, individuare la "my.cnf" file di configurazione (di solito / installation_path / XAMPP / mysql / bin / directory) e modificare il my.cnf con un qualsiasi editor di testo come ad esempio vi.

Search and locate each of the following lines (except the lines in italic where they’re comments): Di ricerca e di individuare ciascuno dei seguenti linee (eccetto le linee in corsivo in cui sono commenti):

- Comment the following line to unskip and use InnoDB -- Commenta la seguente riga al unskip e utilizzare InnoDB
skip-innodb skip-InnoDB

- Uncomment the following options for InnoDB database if you are using InnoDB tables. -- Rimuovere le seguenti opzioni per InnoDB database se si sta utilizzando le tabelle InnoDB.
#innodb_data_home_dir = C:/xampp/xampp/mysql/data/ # innodb_data_home_dir = C: / XAMPP / XAMPP / mysql / data /
#innodb_data_file_path = ibdata1:10M:autoextend # innodb_data_file_path = ibdata1: 10M: autoextend
#innodb_log_group_home_dir = C:/xampp/xampp/mysql/data/ # innodb_log_group_home_dir = C: / XAMPP / XAMPP / mysql / data /
#innodb_log_arch_dir = C:/xampp/xampp/mysql/data/ # innodb_log_arch_dir = C: / XAMPP / XAMPP / mysql / data /

- Uncomment the lines and set innodb_buffer_pool_size up to 50% - 80% of RAM for optimization of InnoDB databases, try not to memory usage too high. -- Rimuovere le linee e impostare innodb_buffer_pool_size fino al 50% - 80% di RAM per l'ottimizzazione di InnoDB, basi di dati, cercare di non utilizzo della memoria troppo elevato.
#set-variable = innodb_buffer_pool_size=16M # set-variabile = innodb_buffer_pool_size = 16M
#set-variable = innodb_additional_mem_pool_size=2M # set-innodb_additional_mem_pool_size variabile = = 2M

- Uncomment the lines and set innodb_log_file_size to 25% of InnoDB buffer pool size for optimisation. -- Rimuovere le linee e innodb_log_file_size fissato al 25% di InnoDB piscina dimensione del buffer per l'ottimizzazione.
#set-variable = innodb_log_file_size=5M # set-innodb_log_file_size variabile = = 5M
#set-variable = innodb_log_buffer_size=8M # set-innodb_log_buffer_size variabile = = 8M
#innodb_flush_log_at_trx_commit=1 # innodb_flush_log_at_trx_commit = 1
#set-variable = innodb_lock_wait_timeout=50 # set-innodb_lock_wait_timeout variabile = = 50

After modification, the code for each lines should look like this: Dopo la modifica, il codice per ciascuna delle linee dovrebbe essere simile al seguente:

# skip-innodb # Skip-InnoDB

innodb_data_home_dir = C:/xampp/xampp/mysql/data/ innodb_data_home_dir = C: / XAMPP / XAMPP / mysql / data /
innodb_data_file_path = ibdata1:10M:autoextend innodb_data_file_path = ibdata1: 10M: autoextend
innodb_log_group_home_dir = C:/xampp/xampp/mysql/data/ innodb_log_group_home_dir = C: / XAMPP / XAMPP / mysql / data /
innodb_log_arch_dir = C:/xampp/xampp/mysql/data/ innodb_log_arch_dir = C: / XAMPP / XAMPP / mysql / data /

set-variable = innodb_buffer_pool_size=16M set-variabile = innodb_buffer_pool_size = 16M
set-variable = innodb_additional_mem_pool_size=2M set-innodb_additional_mem_pool_size variabile = = 2M

set-variable = innodb_log_file_size=5M set-innodb_log_file_size variabile = = 5M
set-variable = innodb_log_buffer_size=8M set-innodb_log_buffer_size variabile = = 8M
innodb_flush_log_at_trx_commit=1 innodb_flush_log_at_trx_commit = 1
set-variable = innodb_lock_wait_timeout=50 set-innodb_lock_wait_timeout variabile = = 50

When InnoDB is not enable and MySQL uses MyISAM database storage engine instead, some errors that may be returned include: InnoDB quando non è consentire e MySQL usa MyISAM banca dati del motore di stoccaggio, invece, alcuni errori che possono essere restituiti includono:

Undefined GET property or variable in ‘A_Class’ class: A_Class_Object Undefined GET proprietà o variabile in 'A_Class' classe: A_Class_Object

Fatal error: Call to undefined method Object::Function() in /xampp/htdocs/wwwroot/a_page.php on line 87 Fatal error: Call to undefined metodo Oggetto:: Funzione () in / XAMPP / htdocs / wwwroot / a_page.php on line 87

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale in lingua inglese whenever possible. quando possibile.

Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .



12 Responses to “Enable MySQL InnoDB Storage Engine Support in XAMPP Installation” 12 risposte a "Attiva MySQL InnoDB Storage Engine supporto di installazione in XAMPP"

  1. Iftekher Chowdhury Iftekher Chowdhury
    March 1st, 2008 03:08 1 ° marzo 2008 03:08
    1

    I needed to activate innoDB for using activeCollab. Avevo bisogno di attivare per l'utilizzo di InnoDB activeCollab. Your article helped me a lot. Il vostro articolo mi ha aiutato molto. It was very well written.Thanx. E 'stato molto ben written.Thanx.

  2. sabine Sabine
    April 12th, 2008 21:54 12 aprile 2008 21:54
    2

    This helps me a lot. Questo mi aiuta molto. Thank you! Grazie!

  3. christian Christian
    April 24th, 2008 23:47 24 aprile 2008 23:47
    3

    Very helpful, thank you! Molto utile, grazie!

  4. rushid
    May 4th, 2008 23:08 4 maggio 2008 23:08
    4

    Thanks, you saved me a lots of searching Grazie, è stato salvato me un sacco di ricerca

  5. Dele Agagu DELE Agagu
    May 15th, 2008 03:16 Maggio 15, 2008 03:16
    5

    I tried the above but whatever changes i made to my.cnf file in apachefriends folder, nothing was working. Ho cercato di cui sopra, ma ciò che ho fatto modifiche al file in my.cnf Apachefriends cartella, nulla è stato lavoro. The following worked for me: Le seguenti lavorato per me:

    1. If you have MYSQL SYSTEM TRAY MONITOR installed on your machine (it is bundled with MYSQL QUERY BROWSER), launch it - you will see a little icon on the notification task bar on your windows machine. Se si dispone di MySQL System Tray Monitor installato sul tuo computer (è fornito in bundle con MySQL Query Browser), la avvierà - vedrete un po 'l'icona sulla barra delle applicazioni di notifica sulla vostra macchina Windows.

    2. Right click it and choose “Configure instance”. Diritto fare clic su di esso e scegliere "Configurazione di esempio".

    3. Select “Startup Variables” on the left item listings. Seleziona "Variabili di avvio" a sinistra inserzioni.

    4. Toggle to “InnoDB Parameters” tab. Passare a "Parametri di InnoDB". Select “Activate InnoDB”. Selezionare "Attiva InnoDB". You will notice all your settings are disabled.( to change your settings/uncomment as mentioned above, follow the next steps) Si noterà tutte le impostazioni sono disattivati. (Per modificare le impostazioni / decommentare come già detto, seguire i passi successivi)

    5. At the footer of the InnoDB tab window you will see a label: A pie 'di pagina della scheda InnoDB finestra vedrete una etichetta:
    Options file: C:\WINDOWS\my.ini File di opzioni: C: \ WINDOWS \ my.ini
    Section: mysqld Sezione: mysqld

    So this is where my configuration file was located. Quindi, se questo è il mio file di configurazione è stato collocato. This ini file took precedent over the apachefriends folder > my.cnf. Questo file ini ha precedenti negli Apachefriends cartella> my.cnf. Locate this file and simply follow the uncommenting procedure of this post and save. Individuare il file e segui la procedura uncommenting di questo post e salvare.

    6. Stop the mysql service by right clicking on the Monitor tray again. Arrestare il servizio MySQL facendo clic destro sulla barra delle applicazioni di nuovo Monitor. Select “Shutdown Instance”. Seleziona "Arresto grado".

    7. Right click again and Select “Start Instance”. Diritto di nuovo e fare clic su Seleziona "Start grado".

    8. Now you will see all your InnoDB variables settings. Ora vedrete tutti i vostri InnoDB variabili impostazioni. :)

  6. Shift Instinct » Blog Archive » How to enable InnoDB Storage Engine Support in XAMPP Installation Shift Instinct "Blog" Come abilitare InnoDB Storage Engine supporto di installazione in XAMPP
    May 15th, 2008 03:25 Maggio 15, 2008 03:25
    6

    [...] http://www.mydigitallife.info [...]

  7. Karim
    May 22nd, 2008 22:01 22 maggio 2008 22:01
    7

    Thank you, your article was very comperhensive. Grazie, il tuo articolo è stato molto comperhensive.
    It helped me alot. Essa mi ha aiutato molto.

  8. Jimis
    May 25th, 2008 15:02 25 maggio 2008 15:02
    8

    For those who had my problem. Per coloro che ha avuto il mio problema. If you couldnt find a my.cnf file, instead you find a shortcut looking icon named ‘my’. Se si potrei trovare un file my.cnf, invece di trovare un collegamento alla ricerca icona denominata 'mio'.

    This is the my.cnf file!! Questo è il file my.cnf!!

    I couldnt right click ‘open with’, instead I opened it by opening a ext editor and file->open->my. Io potrei destra fai clic su 'Apri con', invece ho aperto è di apertura di un editor di int e File-> Apri-> mia.

    Then follow above. Quindi seguire sopra. :)

  9. Jimis
    May 25th, 2008 15:12 25 maggio 2008 15:12
    9

    Except my my.cnf was this: (it worked all the same) Tranne il mio my.cnf è stato questo: (è lavorato tutti lo stesso)

    #skip-innodb # skip-InnoDB
    innodb_data_home_dir = “C:/xampp/mysql/” innodb_data_home_dir = "C: / XAMPP / mysql /"
    innodb_data_file_path = ibdata1:10M:autoextend innodb_data_file_path = ibdata1: 10M: autoextend
    innodb_log_group_home_dir = “C:/xampp/mysql/” innodb_log_group_home_dir = "C: / XAMPP / mysql /"
    innodb_log_arch_dir = “C:/xampp/mysql/” innodb_log_arch_dir = "C: / XAMPP / mysql /"

    innodb_buffer_pool_size = 16M innodb_buffer_pool_size = 16M
    innodb_additional_mem_pool_size = 2M innodb_additional_mem_pool_size = 2M

    innodb_log_file_size = 5M innodb_log_file_size = 5M
    innodb_log_buffer_size = 8M innodb_log_buffer_size = 8M
    innodb_flush_log_at_trx_commit = 1 innodb_flush_log_at_trx_commit = 1
    innodb_lock_wait_timeout = 50 innodb_lock_wait_timeout = 50

  10. Rana
    June 29th, 2008 16:55 29 giugno 2008 16:55
    10

    I have configured your instruction. Ho configurato il vostro insegnamento. But, until my InnoDB database storage engine doesn’t working. , Ma, fino a quando il mio InnoDB immagazzinamento in basi di dati motore non funziona. Also i restarted my mysql sever. Anche i miei riavviato mysql severa.

  11. links for 2008-07-02 | Conteúdo Interativo collegamenti per 2008-07-02 | conteúdo Interativo
    July 2nd, 2008 18:30 2 luglio 2008 18:30
    11

    [...] Enable MySQL InnoDB Storage Engine Support in XAMPP Installation » My Digital Life Habilitando o InnoDB e permitindo o MySQL funcionar com recursos de relacionamento e orientação (tags: mysql innodb relacionamento) [...] [...] Attiva MySQL InnoDB Storage Engine supporto di installazione in XAMPP »Il mio Digital Life Habilitando o InnoDB e porterà a MySQL o funcionar com rapporto delle risorse e orientação (tag: mysql InnoDB rapporto) [...]

  12. prabhu Prabhu
    July 9th, 2008 20:13 9 luglio 2008 20:13
    12

    hi, Salve,
    i folowed the steps which you mentionen above, also i changed in my.cnf file and restarted the apachi and mysql. i folowed i passi che si mentionen sopra, ho cambiato anche in my.cnf file e riavviato il Apachi e mysql. But i could not get innodb in the table type dropdown box. Ma non sono riuscito a far InnoDB nella tabella tipo casella a discesa.

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

xampp innodb XAMPP InnoDB - -- enable innodb consentire InnoDB - -- innodb xampp InnoDB XAMPP - -- xampp mysql innodb XAMPP MySQL InnoDB - -- how to enable innodb come attivare InnoDB - -- xampp enable innodb XAMPP consentire InnoDB - -- phpmyadmin innodb phpMyAdmin InnoDB - -- mysql enable innodb MySQL InnoDB consentire - -- mysql innodb enable MySQL InnoDB consentire - -- enable innoDB mysql consentire MySQL InnoDB - -- enabling innodb consentendo InnoDB - -- innodb enable InnoDB consentire - -- how to enable innodb in mysql come attivare in MySQL InnoDB - -- mysql activate InnoDB attivare MySQL InnoDB - -- enable innodb xampp InnoDB consentire XAMPP - -- innoDB phpMyAdmin InnoDB phpMyAdmin - -- InnoDB is not enabled in the database InnoDB non è attivato nella banca dati - -- InnoDB storage engine is not supported InnoDB motore di memorizzazione non è supportato - -- enable InnoDB in Xampp InnoDB consentire in XAMPP - -- activate innodb mysql attivare MySQL InnoDB - -- enable innodb in mysql consentire in MySQL InnoDB - -- xammp innodb xammp InnoDB - -- mysql innodb xampp MySQL InnoDB XAMPP - -- phpmyadmin enable innodb phpMyAdmin consentire InnoDB - -- activate innodb attivare InnoDB - -- Enable InnoDB phpmyadmin InnoDB consentire phpMyAdmin - -- enable mysql innodb consentire MySQL InnoDB - -- enable InnoDB consentire InnoDB - -- xampp mysql XAMPP MySQL - -- xampp activate innodb XAMPP attivare InnoDB - -- how to enable innodb mysql come attivare MySQL InnoDB - -- innodb mysql xampp MySQL InnoDB XAMPP - -- enable InnoDB on mysql consentire a MySQL InnoDB - -- mysql inodb MySQL inodb - -- how to enable innodb in phpmyadmin come attivare InnoDB in phpmyadmin - -- mysql enabling innodb MySQL InnoDB consentendo - -- enable innodb engine consentire motore InnoDB - -- xampp and innodb XAMPP e InnoDB - -- xampp innodb enable XAMPP consentire InnoDB - -- xampp InnoDB MySQL XAMPP InnoDB di MySQL - -- how to enable InnoDB in xampp come attivare InnoDB in XAMPP - -- mysql innodb activate MySQL InnoDB attivare - -- xampp+InnoDB XAMPP + InnoDB - -- MySQL InnoDB support MySQL InnoDB sostegno - -- how to enable innodb support in mysql come abilitare il supporto InnoDB in MySQL - -- enable innodb storage engine consentire lo stoccaggio del motore InnoDB - -- activate innoDB in mysql attivare in MySQL InnoDB - -- enable innodb mysql xampp MySQL InnoDB consentire XAMPP - -- how to enable innodb xampp come attivare InnoDB XAMPP - -- mysql enable innodb engine MySQL InnoDB consentire motore - -- innodb in xampp InnoDB in XAMPP - -- xampp + innodb XAMPP + InnoDB - -- How to enable InnoDB Come attivare InnoDB - -- mysql innodb phpmyadmin InnoDB di MySQL phpMyAdmin - -- enable innodb in phpmyadmin InnoDB consentire in phpMyAdmin - -- InnoDB+Xampp InnoDB + XAMPP - -- node/346 node/346 - -- xampp mysql enable innodb XAMPP consentire MySQL InnoDB - -- innodb + xampp InnoDB + XAMPP - -- how to enable mysql innodb come attivare MySQL InnoDB - -- InnoDB mysql engine support MySQL InnoDB motore di sostegno - -- enabling Innodb xampp consentendo InnoDB XAMPP - -- enable MySQL InnoDB support consentire il supporto di MySQL InnoDB - -- mysql xampp innodb MySQL InnoDB XAMPP - -- enabling InnoDB in MySql consentendo in MySQL InnoDB - -- xampp no innodb XAMPP non InnoDB - -- InnoDB storage engine is not supported InnoDB motore di memorizzazione non è supportato - -- innodb mysql enable MySQL InnoDB consentire - -- xampp innoDB XAMPP InnoDB - -- enable innodb mysql 5 consentire MySQL 5 InnoDB - -- Enabling innodb in Xampp L'attivazione di InnoDB in XAMPP - -- enable InnoDB support consentire InnoDB sostegno - -- enable innodb on xampp InnoDB consentire a XAMPP - -- innodb en xampp InnoDB it XAMPP - -- activating innodb mysql l'attivazione di MySQL InnoDB - --