On 23 Dec 2008, at 00:32, Ryan Ororie wrote:
> > I changed host from 'localhost' to 'localhost:3006' because (via > locomotive) that is where I set the radiant_cms project to be. > > Only when going to http://localhost:3006/ I get this error: > Mysql::Error: Table 'radiant_cms_development.config' doesn't exist: > SHOW > FIELDS FROM `config` the host is where the mysql server is, ie not port 3006. That's irrelevant though since you're connecting via a unix domain socket > > Which confuses me, because as you can see from the following output > - I > can talk to the database (and therefore it must have the config > table?) > It can talk to the database. It's probably just telling you that the database is empty. I don't know radiant but I would expect you need to run rake db:schema:load or similar to create the tables radiant uses. Fred > bio4054059:radiant_cms rmorourk$ /Applications/MAMP/Library/bin/ > mysql -u > root -proot radiant_cms_development > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 57 > Server version: 5.0.41 Source distribution > > Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > > mysql> grant all on radiant_cms_development.* to root@'%' identified > by > 'root'; > Query OK, 0 rows affected (0.00 sec) > > mysql> create table dummy(i int); > Query OK, 0 rows affected (0.00 sec) > > mysql> drop table dummy; > Query OK, 0 rows affected (0.00 sec) > > Would LOVE to get to the bottom of this. > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

