shouldn't the line: host: localhost:3006 in your database,yml file be the anouncement for where your mysql is running?
On Dec 23, 8:32 am, Ryan Ororie <[email protected]> wrote: > > That should also be mysql -u root -proot if you want to have admin > > privileges -- which as a user you clearly don't have. > > Thank you. Worked fine. But, still can't seem to get Radiant up and > running locally. > > My database.yml looks like: > > development: > adapter: mysql > database: radiant_cms_development > username: root > password: root > host: localhost:3006 > socket: /Applications/MAMP/tmp/mysql/mysql.sock > > 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 tohttp://localhost:3006/I get this error: > Mysql::Error: Table 'radiant_cms_development.config' doesn't exist: SHOW > FIELDS FROM `config` > > 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?) > > 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 viahttp://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 -~----------~----~----~----~------~----~------~--~---

