skip to Main Content

Can't disable ONLY_FULL_GROUP_BY – Magento

I am having an issue with ONLY_FULL_GROUP_BY on MySQL 5.7.14 where I can't seem to disable it even though I've set the SQL mode. I have set both @@sql_mode to remove ONLY_FULL_GROUP_BY by running this command: SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));…

VIEW QUESTION

Error Creating Custom table in Magento 1.9 for Custom Module

I've created a custom Magento plugin, and everything is working fine, except the database creation. Here is my SQL code. <?php $installer = $this; $installer->startSetup(); $installer->run(" -- DROP TABLE IF EXISTS {$this->getTable('store_city')}; CREATE TABLE '{$installer->getTable('store_city')}'( `city_id` int(11) unsigned NOT NULL…

VIEW QUESTION
Back To Top
Search