Enable MySQL InnoDB Storage Engine Support in XAMPP Installation تمكين الخلية innodb تخزين محرك في دعم تركيب xampp
XAMPP from Apache Friends Xampp من اصدقاء أباتشي is a collection of free open source apps that make it easy to install Apache distribution containing MySQL, PHP and Perl. هو مجموعة من تطبيقات مجانيه مفتوحة المصدر ان تجعل من السهل لتركيب الخلية التي تحتوي على توزيع اباتشي ، بي. اتش. بى وبيرل. There are four XAMPP distributions for Windows, Linux, Mac OS X and Solaris. وهناك اربعة لتوزيعات xampp ويندوز ، لينكس ، ماكنتوش ، وسولاريس. 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. لانشاء خادم الويب اباتشي مع xampp ، وبكل بساطة تنزيل استخراج xampp ، وخادم الويب اباتشي httpd مستعدة بعد واحدة او اثنتين من أكثر السيارات - تنفيذ البرامج النصيه. 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. لا توجد اي تغييرات على سجل ويندوز (الا اذا كنت تستخدم نسخة من الارامل المثبت xampp) وانه ليس من الضروري ان تحرير اي اعداد الملفات.
However, by default, InnoDB MySQL database storage engine is not enabled in the my.cnf configuration file. ومع ذلك ، افتراضيا ، innodb الخلية قاعدة بيانات لتخزين محرك لا يتمكن من 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. اذا كان مدير الموقع خطط لاستخدام ميزات innodb ، مثل واحد او كثير لكثير من الجدول الى العديد من العلاقات الخارجية على المعوقات الرئيسية ، او معاملة آمنة من الاوامر مثل الالتزام ، وتحطم الانتعاش تراجع القدرات.
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. لتمكين الدعم من الخلية على خادم innodb تخزين محرك ، وتحديد موقع "my.cnf" ملف (عادة فى / installation_path / xampp / الخلية / بن / دليل) ، وتحرير my.cnf مع أي محرر نصوص مثل السادس.
Search and locate each of the following lines (except the lines in italic where they’re comments): بحث وتحديد موقع كل من الخطوط التالية (باستثناء خطوط ماءله حيث انهم التعليقات) :
- Comment the following line to unskip and use InnoDB -- التعليق السطر التالي الى unskip واستخدام innodb
skip-innodb تخطى - innodb- Uncomment the following options for InnoDB database if you are using InnoDB tables. -- غير تعليق الخيارات التالية لقاعدة البيانات innodb اذا كنت تستخدم الجداول innodb.
#innodb_data_home_dir = C:/xampp/xampp/mysql/data/ # innodb_data_home_dir = ج : / xampp / xampp / الخلية / بيانات /
#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 = ج : / xampp / xampp / الخلية / بيانات /
#innodb_log_arch_dir = C:/xampp/xampp/mysql/data/ # innodb_log_arch_dir = ج : / xampp / xampp / الخلية / بيانات /- 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. -- خطوط غير تعليق ومجموعة innodb_buffer_pool_size ما يصل الى 50 ٪ -- 80 ٪ من ذاكرة الوصول العشوائي لتحقيق افضل innodb قواعد البيانات ، وحاول ألا استخدام الذاكرة مرتفعة جدا.
#set-variable = innodb_buffer_pool_size=16M # - مجموعة متغير innodb_buffer_pool_size = = 16m
#set-variable = innodb_additional_mem_pool_size=2M # - مجموعة متغير innodb_additional_mem_pool_size = = ش- Uncomment the lines and set innodb_log_file_size to 25% of InnoDB buffer pool size for optimisation. -- خطوط غير تعليق ومجموعة innodb_log_file_size الى نسبة 25 ٪ من المخزون الاحتياطى للسباحه innodb الحجم الامثل لل.
#set-variable = innodb_log_file_size=5M # - مجموعة متغير innodb_log_file_size = = 5m
#set-variable = innodb_log_buffer_size=8M # - مجموعة متغير innodb_log_buffer_size = = 8 م
#innodb_flush_log_at_trx_commit=1 # innodb_flush_log_at_trx_commit = 1
#set-variable = innodb_lock_wait_timeout=50 # - مجموعة متغير innodb_lock_wait_timeout = = 50
After modification, the code for each lines should look like this: بعد تعديل قانون كل خطوط لمثل هذا :
# skip-innodb # القفز - innodb
innodb_data_home_dir = C:/xampp/xampp/mysql/data/ innodb_data_home_dir = ج : / xampp / xampp / الخلية / بيانات /
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 = ج : / xampp / xampp / الخلية / بيانات /
innodb_log_arch_dir = C:/xampp/xampp/mysql/data/ innodb_log_arch_dir = ج : / xampp / xampp / الخلية / بيانات /set-variable = innodb_buffer_pool_size=16M - مجموعة متغير innodb_buffer_pool_size = = 16m
set-variable = innodb_additional_mem_pool_size=2M - مجموعة متغير innodb_additional_mem_pool_size = = شset-variable = innodb_log_file_size=5M - مجموعة متغير innodb_log_file_size = = 5m
set-variable = innodb_log_buffer_size=8M - مجموعة متغير innodb_log_buffer_size = = 8 م
innodb_flush_log_at_trx_commit=1 innodb_flush_log_at_trx_commit = 1
set-variable = innodb_lock_wait_timeout=50 - مجموعة متغير innodb_lock_wait_timeout = = 50
When InnoDB is not enable and MySQL uses MyISAM database storage engine instead, some errors that may be returned include: عندما لا innodb وتمكين الخلية myisam يستخدم محرك قاعدة بيانات لتخزين وبدلا من ذلك ، بعض الاخطاء التي قد تكون عاد ما يلي :
Undefined GET property or variable in ‘A_Class’ class: A_Class_Object غير معرف الحصول على الممتلكات او متغير في 'a_class' الدرجة : a_class_object
Fatal error: Call to undefined method Object::Function() in /xampp/htdocs/wwwroot/a_page.php on line 87 خطأ فادح : دعوة الى طريقة غير معرفة وجوه : : وظيفة () في / xampp / htdocs / wwwroot / a_page.php على الخط 87
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذا هو الاله الذي ترجم صفحة مقدمة "كما هى" دون ضمان. Machine translation may be difficult to understand. الترجمة الاليه قد يكون من الصعب ان نفهم. Please refer to يرجى الرجوع الى original English article المادة الاصليه English whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at والمساهمة في حصة او الحصول على الدعم التقني والمساعدة فى My Digital Life Forums بلدي الرقميه الحياة المنتديات .
Related Articles مقالات ذات صلة
- Easily Set Up Web Server with XAMPP من السهل إنشاء خادم الويب مع xampp
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 4 تثبيت خادم الويب في ويندوز اكس بي مع apache2 ، php5 وmysql4 -- الجزء 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3 تركيب خادم الويب مع 6،0 في فري بي. اس. دي اباتشي 2،2 ، 5،0 الخلية وبي. اتش. بى 5 -- الجزء 3
- WordPress Permalinks Does Not Work in xampp Setup WordPress permalinks لا يعمل في الاعداد xampp
- Enable Logging of Slow Queries (Slow Query Log) in MySQL Database تمكن من قطع الاشجار بطيءه الاستفسارات (بطيءه سجل استفسار) في قاعدة بيانات الخلية
- Change or Set MySQL Long Query Time Value for log-slow-queries تغيير الخلية او مجموعة طويلة وقت الاستعلام عن قيمة الدخول بطيء الاستفسارات
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 5 تركيب خادم الويب مع 6،0 في فري بي. اس. دي اباتشي 2،2 ، 5،0 الخلية وبي. اتش. بى 5 -- الجزء 5
- How to Backup and Restore (Export and Import) MySQL Databases Tutorial كيفية النسخ الاحتياطي واستعادة (الصادرات والواردات) الخلية قواعد البيانات الدورة التعليميه
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 - Part 1 تثبيت خادم الويب في ويندوز اكس بي مع apache2 ، php5 وmysql4 -- الجزء 1
- MySQL Database Performance Tuning Best Practices Video Tutorial قاعدة بيانات الخلية ضبط اداء افضل الممارسات الدورة التعليميه الفيديو

































March 1st, 2008 03:08 اول مارس ، 2008 03:08
I needed to activate innoDB for using activeCollab. انا بحاجة الى تفعيل innodb لاستخدام activecollab. Your article helped me a lot. مقالك ساعدتني كثيرا. It was very well written.Thanx. كان جيدا جدا written.thanx.
April 12th, 2008 21:54 نيسان / ابريل 12th ، 2008 21:54
This helps me a lot. وهذا يساعد لي الكثير. Thank you! شكرا لك!
April 24th, 2008 23:47 نيسان / ابريل 24th ، 2008 23:47
Very helpful, thank you! من المفيد جدا ، شكرا لك!
May 4th, 2008 23:08 الرابع من ايار / مايو ، 2008 23:08
Thanks, you saved me a lots of searching شكرا ، أنت انقذت لي الكثير من البحث
May 15th, 2008 03:16 الخامس عشر من شهر مايو ، 2008 03:16
I tried the above but whatever changes i made to my.cnf file in apachefriends folder, nothing was working. حاولت المذكورة اعلاه ولكن ايا كانت التغييرات التي ادخلت على ملف my.cnf في apachefriends مجلد ، واوضح انه لا يمكن العمل. The following worked for 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. اذا كان لديك علبة النظام الخلية رصد المثبتة على جهازك (ومن المجمعه مع الخلية استفسار المتصفح) ، واطلاقه -- سترون ايقونه قليلا عن الاخطار المهمة على شريط آلة ويندوز الخاص بك.
2. Right click it and choose “Configure instance”. انقر بزر الفأرة الايمن واختر "تهيئة المثال".
3. Select “Startup Variables” on the left item listings. اختر "بدء المتغيرات" على اليسار قوائم البند.
4. Toggle to “InnoDB Parameters” tab. التبديل الى "innodb المعالم"؟ Select “Activate InnoDB”. اختر "تفعيل innodb". You will notice all your settings are disabled.( to change your settings/uncomment as mentioned above, follow the next steps) ستلاحظ جميع اعداداتك معطل. (لتغيير اعداداتك / غير تعليق على النحو المذكور أعلاه ، اتبع الخطوات التالية)
5. At the footer of the InnoDB tab window you will see a label: في ذيل الصفحه من علامة التبويب innodb نافذة سترى علامة :
Options file: C:\WINDOWS\my.ini خيارات الملف : ج : \ نوافذ \ my.ini
Section: mysqld القسم : mysqld
So this is where my configuration file was located. وهذا هو بلدي فيها ملفات كانت موجودة. This ini file took precedent over the apachefriends folder > my.cnf. هذا الملف ini احاطت سابقة على مدى apachefriends مجلد> my.cnf. Locate this file and simply follow the uncommenting procedure of this post and save. تحديد موقع هذا الملف واتبع الاجراء غير تعليق على هذه الوظيفة وانقاذ.
6. Stop the mysql service by right clicking on the Monitor tray again. الخلية وقف الخدمة من جانب الحق النقر على رصد علبة مرة اخرى. Select “Shutdown Instance”. اختر "اغلاق المثال".
7. Right click again and Select “Start Instance”. انقر بزر الفأرة الايمن واختر مرة اخرى "ستارت المثال".
8. Now you will see all your InnoDB variables settings. الآن سترى كل ما تبذلونه من المتغيرات innodb اعدادات.
May 15th, 2008 03:25 الخامس عشر من شهر مايو ، 2008 03:25
[...] http://www.mydigitallife.info [...]
May 22nd, 2008 22:01 ايار / مايو 22nd ، 2008 22:01
Thank you, your article was very comperhensive. شكرا لك ، يا المادة comperhensive جدا.
It helped me alot. انها ساعدتني كثيرا.
May 25th, 2008 15:02 ايار / مايو 25th ، 2008 15:02
For those who had my problem. لبلدي وكان من تلك المشكلة. If you couldnt find a my.cnf file, instead you find a shortcut looking icon named ‘my’. اذا كنت couldn't ايجاد ملف my.cnf ، وتجد بدلا من النظر الى ايقونه اختصار اسمه 'بلدي'.
This is the my.cnf file!! وهذا هو ملف my.cnf!!
I couldnt right click ‘open with’, instead I opened it by opening a ext editor and file->open->my. لي الحق في couldn't انقر على 'فتح' ، بدلا من انها فتحت من قبل فتح الملف وتحويله المحرر -> المفتوح> بلدي.
Then follow above. وبعد ذلك اعلاه.
May 25th, 2008 15:12 ايار / مايو 25th ، 2008 15:12
Except my my.cnf was this: (it worked all the same) إلا كان هذا هو بلدي my.cnf : (إنها عملت كل نفس)
#skip-innodb # القفز - innodb
innodb_data_home_dir = “C:/xampp/mysql/” innodb_data_home_dir = "جيم : / xampp / الخلية /"
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 = "جيم : / xampp / الخلية /"
innodb_log_arch_dir = “C:/xampp/mysql/” innodb_log_arch_dir = "جيم : / xampp / الخلية /"
innodb_buffer_pool_size = 16M innodb_buffer_pool_size = 16m
innodb_additional_mem_pool_size = 2M innodb_additional_mem_pool_size = ش
innodb_log_file_size = 5M innodb_log_file_size = 5m
innodb_log_buffer_size = 8M innodb_log_buffer_size = 8 م
innodb_flush_log_at_trx_commit = 1 innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50 innodb_lock_wait_timeout = 50
June 29th, 2008 16:55 يونيو 29th ، 2008 16:55
I have configured your instruction. لقد تم تكوينها التعليمات الخاصة بك. But, until my InnoDB database storage engine doesn’t working. ولكن ، حتى بلدي innodb قاعدة بيانات لتخزين محرك لا تعمل. Also i restarted my mysql sever. انا ايضا من جديد قطع بلدي الخلية.
July 2nd, 2008 18:30 يوليو 2nd ، 2008 18:30
[...] 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) [...] [...]تمكين الخلية innodb تخزين محرك في دعم xampp تركيب »بلدي الرقميه innodb الحياة habilitando س س ه permitindo الخلية تعمل كوم دي relacionamento recursos orientação ه (العلامات : الخلية innodb relacionamento) [...]
July 9th, 2008 20:13 التاسع من تموز / يوليه ، 2008 20:13
hi, أهلا ،
i folowed the steps which you mentionen above, also i changed in my.cnf file and restarted the apachi and mysql. انا folowed الخطوات التي كنت mentionen اعلاه ، كما انني غيرت في ملف my.cnf ومن جديد وapachi الخلية. But i could not get innodb in the table type dropdown box. ولكن ذلك لم استطع innodb في الجدول نوع الاطار بشكل يدوي.