Zen Cart Logo
Forums / General Questions / Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

Locked

Views: 3,515

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Sep 2009, 12:47 PM
#1
phillipharrison avatar

phillipharrison

New Zenner

Join Date:
Jan 2007
Location:
England
Posts:
83
Plugin Contributions:
0

Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

Hello,

All of sudden a site has started to display this error:

1 Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)
in:
[select c.categories_id, cd.categories_name, cd.categories_description, c.categories_image,                                          c.parent_id, c.sort_order, c.date_added, c.last_modified,                                          c.categories_status                                   from zen_categories c, zen_categories_description cd                                   where c.parent_id = '0'                                   and c.categories_id = cd.categories_id                                   and cd.language_id = '1' order by c.sort_order, cd.categories_name]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
```and trying to view a product on the shop side:

1 Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)
in:
[select pov.products_options_values_id, pov.products_options_values_name, pa.* from zen_products_attributes pa, zen_products_options_values pov where pa.products_id = '547' and pa.options_id = '2' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '1' order by LPAD(pa.products_options_sort_order,11,"0"), pov.products_options_values_name]


But its also on product pages.

Any ideas whats causing it and a possible solution?
5 Sep 2009, 7:21 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

Your database server has a problem with its ability to store data properly. You might be out of allowed disk space on your account, or the server may have a serious problem.

That error message is something you need to report to your hosting company to have them resolve.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

5 Sep 2009, 10:31 PM
#3
phillipharrison avatar

phillipharrison

New Zenner

Join Date:
Jan 2007
Location:
England
Posts:
83
Plugin Contributions:
0

Re: Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

Yes sorry, i should of updated this thread. After contacting their host, they sorted it.

21 Oct 2009, 3:30 AM
#4
duckarina avatar

duckarina

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

This just happened to a site I have on GoDaddy. Have contacted them but they haven't fixed it yet.

Phillip - do you remember (or know) what the host fixed for your client?

21 Oct 2009, 3:32 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Mysql Error: Can't create/write to file '#sql_5a0_0.MYD' (Errcode: 17)

Same issue. Maybe the customer's hosting account is out of available disk space?
If not, the hosting company needs to do the fixing.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.