में परिवर्तित करें मै मैक का उपयोग कर रहा हूं और मैंने होमब्रू का उपयोग करके mysql इंस्टॉल किया है।mysql डिफ़ॉल्ट इंजन को innodb
brew install mysql
सुंदर मानक स्थापना।
mysql> show engines;
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance | NO | NO | NO |
| InnoDB | YES | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
+------------+---------+------------------------------------------------------------+--------------+------+------------+
मैं innodb डिफ़ॉल्ट भंडारण इंजन होना चाहता हूं। मुझे क्या करना चाहिये?
मेरी आईएनआई फाइल कहां है। मुझे कैसे पता चलेगा कि mysql ini फ़ाइल को कहाँ देखेगा। –
इसे मिला। /etc/my.cnf ने काम किया क्योंकि मुझे mysql मिल रहा है: अज्ञात चर 'डिफ़ॉल्ट-स्टोरेज-इंजन = innodb' –
@ नडाल: क्या आपने इसे '[mysqld] 'के अंतर्गत रखा था? – Quassnoi