Cannot assign requested address - bind(2) (Errno::EADDRNOTAVAIL)

后端 未结 5 420
囚心锁ツ
囚心锁ツ 2020-12-19 04:48

I am using rail for teambox at centos 6.3 server, actually this is just a trial and error before applying it live.

  • I\'m using 2 virtual box that running on sa
5条回答
  •  忘掉有多难
    2020-12-19 05:29

    Try as following:

    development:
     adapter: mysql
     host: 127.0.0.1
     port: 3306
     username: teambox
     password: pass
     database: teambox
    


    (or)

    development:
     adapter: mysql
     host: localhost
     port: 3306
     username: teambox
     password: pass
     database: teambox
    


    I think any of the above will work.

提交回复
热议问题