# HowTo use mysql in cygwin?

**URL:** <https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934>\
**Category:** Deployment\
**Created:** [September 30, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934 "2007-09-30T16:02:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nonocast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bc8723/32.png) [@nonocast](https://www.ruby-forum.com/u/nonocast)\
**Post date:** [September 30, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934/1 "2007-09-30T16:02:37Z")

</div>

the shell in windows is so … idiot  
so i use cygwin instead

when I try to “rake db:migrate” in cygwin.  
No such file or dir. -/tmp/mysql.sock

@Ubuntu, I use ‘link -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock’, it  
works.  
But how to fix it in windows.

I am … so confuse.

thx.

---

<div class="post-metadata">

**Author:** ![nonocast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bc8723/32.png) [@nonocast](https://www.ruby-forum.com/u/nonocast)\
**Post date:** [October 6, 2007, 2:37pm UTC](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934/2 "2007-10-06T14:37:53Z")

</div>

hello,

I use also the cygwin and CAST tool, I want use the graphic of cast  
but I don’t  
know how to do that!!  
Do someone has a tutorial or interessant web site to help me ?  
I’m waiting your answer  
Thanks a lot

NB:“CAST” is a system-level software tool that supports  
the design of concurrent systems

---

<div class="post-metadata">

**Author:** ![nonocast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bc8723/32.png) [@nonocast](https://www.ruby-forum.com/u/nonocast)\
**Post date:** [September 30, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934/3 "2007-09-30T16:51:37Z")

</div>

nono cast wrote:

> the shell in windows is so … idiot  
> so i use cygwin instead
> 
> when I try to “rake db:migrate” in cygwin.  
> No such file or dir. -/tmp/mysql.sock
> 
> @Ubuntu, I use ‘link -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock’, it  
> works.  
> But how to fix it in windows.
> 
> I am … so confuse.
> 
> thx.

got it  
localhost =\> 127.0.0.1

…

---

<div class="post-metadata">

**Author:** ![nonocast](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/bc8723/32.png) [@nonocast](https://www.ruby-forum.com/u/nonocast)\
**Post date:** [October 6, 2007, 2:43pm UTC](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934/4 "2007-10-06T14:43:43Z")

</div>

hello,

I use also the cygwin and CAST tool, I want use the graphic of cast  
but I don’t  
know how to do that!!  
Do someone has a tutorial or interessant web site to help me ?  
I’m waiting your answer  
Thanks a lot

NB:“CAST” is a system-level software tool that supports  
the design of concurrent systems
