rails连接mysql的问题

和数据库还是连接不上,老有下面这个异常 大家帮我看看是怎么回事 谢谢
Routing Error

No route matches "/rails/info/properties" with {:method=>:get

高手你看下这个是怎么回事
还有socket这个在database.yml中如何配置吗????

[b]问题补充:[/b]
忘了说了我是在XP系统下
socket那个属性也要配置成那样吗 ?应该配置成什么样子? :x

[b]问题补充:[/b]
版本号分别是:
ruby 1.8.6
Rails 2.2.2
mysql 5.1.30-community
[b]问题补充:[/b]
帮忙解决下嘛 有点着急
我培训的JAVA 来公司了 直接给我的任务就是前个离职人做的他用的就是ROR 等于要完善他的代码 才接触几个星期 做起来很棘手

改为:
[code="java"]# MySQL. Versions 4.1 and 5.0 are recommended.
#

Install the MySQL driver:

gem install mysql

On Mac OS X:

sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql

On Mac OS X Leopard:

sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

This sets the ARCHFLAGS environment variable to your native architecture

On Windows:

gem install mysql

Choose the win32 build.

Install MySQL and put its /bin directory on your path.

#

And be sure to use new-style password hashing:

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

development:
adapter: mysql
encoding: utf8
database: smyrna_development
username: root
password: kml
host: localhost

Warning: The database defined as "test" will be erased and

re-generated from your development database when you run "rake".

Do not set this db to the same as development or production.

test:
adapter: mysql
encoding: utf8
database: smyrna_test
username: root
password: kml
host: localhost

production:
adapter: mysql
encoding: utf8
database: smyrna_production
username: root
password: kml
host: localhost
[/code]
再试试。

呃。我的配置给你看下。。

adapter: mysql
encoding: utf8
database: test
username: root
password: 123456
socket: /tmp/mysql.sock

[quote]还有socket这个在database.yml中如何配置吗???? [/quote]
建议上传database.yml并告知ruby,rails,mysql的版本号。

你的又不是linux。

直接这样不就好了

adapter: mysql
encoding: utf8
database: test5_development
username: root
password: root
host: localhost

另外,用gem install mysql没有?mysql 的adapter在rails 2.2.2需要另外安装的。

用gem list --local 查一查mysql安装没有?