MySQL incorrect key file for tmp table when making multiple joins

后端 未结 11 1234
轻奢々
轻奢々 2020-11-27 17:01

I don\'t come here for help often but I am pretty frustrated by this and I am hoping someone has encountered it before.

Whenever I try to fetch records from a table

11条回答
  •  無奈伤痛
    2020-11-27 17:29

    I experience the same problem.

    Here is my solution : 1. Dont use "select *". Just select field that you need. 2. Split the query. If the field you select is too much, splitting it to some query can be a result. You can "array_merge()" the result later if you want the variable that contain the result not changed.

    On my case, I split the query to 5 queries, then array merge it using PHP.

    The problem is lies on the mysql server. It is just a thing that application developer (such us me) don't has a previlege.

提交回复
热议问题