PrestaShop creates #sql_ files in /tmp for no reason
NickName:Rob Dillstorm Ask DateTime:2019-04-15T20:16:09

PrestaShop creates #sql_ files in /tmp for no reason

In my prestashop I am facing a strange issue. Prestashop creates temporary tables which are placed in /tmp as this is configured in my.cnf which is OK, but the issue why they are being generated and what can cause. Example of a file: mysql:mysql /tmp/#sql_c2d_3.MAD

My server is with centos 7, mariadb 10.3, php 7.1. If anything else is needed, I will be happy to share it.

My server is with centos 7, mariadb 10.3, php 7.1 and I checked https://mariadb.com/kb/en/library/mysqld-fills-tmp-with-file-tmpsql_26be_0mad/ which says: When you run certain ALTER or CREATE commands on an InnoDB table, a temporary table is created in mysql's tmpdir during the operation.The default value in my.cnf is /tmp

I am not sure after that if the issue is caused by the server or by prestashop. I checked if a module can cause this, but I was not able to find anything wrong.

Copyright Notice:Content Author:「Rob Dillstorm」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/55689022/prestashop-creates-sql-files-in-tmp-for-no-reason

More about “PrestaShop creates #sql_ files in /tmp for no reason” related questions

PrestaShop creates #sql_ files in /tmp for no reason

In my prestashop I am facing a strange issue. Prestashop creates temporary tables which are placed in /tmp as this is configured in my.cnf which is OK, but the issue why they are being generated an...

Show Detail

prestashop: let prestashop creates https links

Good day all. I have a custom theme in Prestashop 1.6, at a certain moment, into the footer of the page, some links were created: href="{$link->getCategoryLink($smarty.get.id_category, null, $l...

Show Detail

Prestashop attributes

I want to add product with many attributes in Prestashop (more then 4 select fields and each of them has 100 variants). But in the end it turns out that creates a lot of combinations (100^4=100000000

Show Detail

Prestashop stubborn css cache

I use prestashop 1.6.0.8 I want to modify css files. I disabled cahce and ccc from advanced parameters->performance. Set template compilation to force compilation. Deleted cache->smart->cache and

Show Detail

converting apache http htaccess to nginx config for Prestashop 1.6 multi store

I'm running Prestashop 1.6 with multi store enabled. Default url is http://192.168.1.217/prestashop161 And I have another shop at this url http://192.168.1.217/prestashop161/shopa When you change

Show Detail

Prestashop Products csv imports for addition and update

I am using Prestashop 1.5.4 and we get bulk product updates for suppliers frequently in form of CSV. The pre-built Prestashop import module worked great when we want to add new products to the syst...

Show Detail

Where does prestashop db backup files stored?

Local prestashop installations (not cloud one) creates backup files from its administration interface. It also let you download them. In which folder does these backup files are located?

Show Detail

Prestashop Product Details Page Goes to Wrong URL

I found my product detail page url in prestashop build by appending product id first. From Below Docs. http://doc.prestashop.com/pages/viewpage.action?pageId=20578464 i found that my prestashop p...

Show Detail

Prestashop1.6 theme on prestashop 1.7

I have a big problem. I have installed prestashop 1.7 and I like its administration interface, however, its default theme is not suitable at all for my field of activity compared to that offered by

Show Detail

Prestashop create Grid

I try to create a custom Grid in Prestashop 1.7 without using the query builder. Is that possible? For example from array,collection or json data. This is the tutorial from Prestashop doc. https://

Show Detail