# MySQL Help?

**URL:** <https://www.ruby-forum.com/t/mysql-help/128061>\
**Category:** Rails\
**Created:** [February 4, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/mysql-help/128061 "2008-02-04T18:30:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [February 4, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/mysql-help/128061/1 "2008-02-04T18:30:50Z")

</div>

Hi-

I posted this under the MySQL group as well, but I thought some other  
Rails folks may have seen this before??

“Mysql::Error: Can’t create/write to file ‘/var/lib/mysql/  
#sql\_146a\_0.MYI’ (Errcode: 30)”

Anyone know what this means, and how to fix it?

Thanks!

---

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [February 4, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/mysql-help/128061/2 "2008-02-04T18:41:29Z")

</div>

On 4 Feb 2008, at 17:30, pete wrote:

> Hi-
> 
> I posted this under the MySQL group as well, but I thought some other  
> Rails folks may have seen this before??
> 
> “Mysql::Error: Can’t create/write to file ‘/var/lib/mysql/  
> #sql\_146a\_0.MYI’ (Errcode: 30)”
> 
> Anyone know what this means, and how to fix it?

Well the obvious questions are is /var/lib/mysql/ writable by the  
mysql process?, is there free space on that device?, is it mounted  
read-write? etc…

Fred

---

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [February 4, 2008, 6:50pm UTC](https://www.ruby-forum.com/t/mysql-help/128061/3 "2008-02-04T18:50:55Z")

</div>

Certainly. That’s the strange thing, this worked prior to today for  
the past couple weeks, no change to permissions…

---

<div class="post-metadata">

**Author:** ![pete](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3ab097/32.png) [@pete](https://www.ruby-forum.com/u/pete)\
**Post date:** [February 4, 2008, 7:41pm UTC](https://www.ruby-forum.com/t/mysql-help/128061/4 "2008-02-04T19:41:46Z")

</div>

This issue was caused by a hardware failure. the disk went down so  
nothing could access it…
