当我运行 rake ts:index 时,我收到以下错误:
Generating Configuration to /Users/main/rails_projects/glassboard/config/development.sphinx.conf
Sphinx 2.0.4-release (r3135)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/Users/main/rails_projects/glassboard/config/development.sphinx.conf'...
indexing index 'user_core'...
ERROR: index 'user_core': sql_connect: FATAL: role "root" does not exist
(DSN=pgsql://root:***@localhost:5432/glassboard_development).
total 0 docs, 0 bytes
total 0.005 sec, 0 bytes/sec, 0.00 docs/sec
skipping non-plain index 'user'...
total 0 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 0 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
我找不到关于此错误的任何在线信息,Sphinx 我的数据库有什么问题?
我的操作系统是 Mac 10.6.8,我使用的是 (PostgreSQL) 9.1.4。