# Problem when porting

**URL:** <https://www.ruby-forum.com/t/problem-when-porting/52879>\
**Category:** Rails\
**Created:** [January 19, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/problem-when-porting/52879 "2006-01-19T22:08:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Antoine\_Solomon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@Antoine\_Solomon](https://www.ruby-forum.com/u/Antoine_Solomon)\
**Post date:** [January 19, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/problem-when-porting/52879/1 "2006-01-19T22:08:14Z")

</div>

Hello,

I am a total beginner when it comes to rails and would like to know are  
there any issues with porting rails from freebsd to windows?  
This is the error that I have

Bad file descriptor - /tmp/mysql.sock

I am not sure if this would help or not but I am currently on a cygwin  
environment

thanks if anyone can help

---

<div class="post-metadata">

**Author:** ![Antoine\_Solomon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@Antoine\_Solomon](https://www.ruby-forum.com/u/Antoine_Solomon)\
**Post date:** [January 19, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/problem-when-porting/52879/2 "2006-01-19T22:17:17Z")

</div>

I’m not sure if socket-based MySQL runs on Windows… have you tried  
changing your database.yml file to point to localhost at port 3600  
instead?  
Comment out the socket part of the config.

-Will

---

<div class="post-metadata">

**Author:** ![Antoine\_Solomon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@Antoine\_Solomon](https://www.ruby-forum.com/u/Antoine_Solomon)\
**Post date:** [January 19, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/problem-when-porting/52879/3 "2006-01-19T22:29:22Z")

</div>

i still get the same problem

No such file or directory - /tmp/mysql.sock

---

<div class="post-metadata">

**Author:** ![Antoine\_Solomon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@Antoine\_Solomon](https://www.ruby-forum.com/u/Antoine_Solomon)\
**Post date:** [January 19, 2006, 11:17pm UTC](https://www.ruby-forum.com/t/problem-when-porting/52879/4 "2006-01-19T23:17:42Z")

</div>

I also downloaded some sameple code from agile web development rails  
book  
and I still get the same problem. Has anyone had any issues with  
cygwin  
and rails?
