Sara, Indeed if you delete the socket line and use either 127.0.0.1 or just plain ol' localhost works fine.
On 1/4/07, Sara <[EMAIL PROTECTED]> wrote: > Jim, > > Thanks so if I understand that correctly you deleted the sockets lines all > together and instead wrote a > host:127.0.0.1 instead? > > > On Thursday 04 January 2007 12:42, Jim Herring wrote: > > I'm running Dapper and had this problem too. What worked for me was > > removing the socket lines from database.yml and using host: 127.0.0.1 > > instead. > > > > Hope that help! > > > > Jim > > > > On 1/4/07, Sara <[EMAIL PROTECTED]> wrote: > > > Semt, > > > I know I created a symlink to it and it still did not work and then I > > > just deleted the link and just enter the /vr/run/ location and now I get > > > the same > > > eror just with that location > > > $ruby script/setup_database production > > > > > > Run `setup_database --help` for information on additional options. > > > > > > Loading production environment...FAILED > > > /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` > > > socket:/var/run/mysqld/mysqld.sock' (ArgumentError) > > > from /usr/lib/ruby/1.8/yaml.rb:133:in `load' > > > from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 > > > /lib/initializer.rb:459:in > > > `database_configuration' > > > from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 > > > /lib/initializer.rb:181:in > > > `initialize_database' > > > from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 > > > /lib/initializer.rb:84:in > > > `process' > > > from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 > > > /lib/initializer.rb:42:in > > > `run' > > > from ./script/../config/environment.rb:15 > > > from script/setup_database:78:in `load_environment' > > > from script/setup_database:258:in `announce' > > > from script/setup_database:77:in `load_environment' > > > from script/setup_database:17:in `run' > > > from script/setup_database:9:in `run' > > > from script/setup_database:297 > > > > > > anyone has any other ideas as to what could be wrong. > > > > > > Sara Vasquez > > > > > > On Thursday 04 January 2007 05:12, Andreas Semt wrote: > > > > Hi Sara, > > > > > > > > on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' > > > > (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. > > > > Hope that helps. > > > > > > > > > > > > Best regards, > > > > Andreas Semt > > > > > > > > Sara schrieb: > > > > > Hello, > > > > > > > > > > I am having problems installing Radiant on my ubuntu machine here is > > > > > > the > > > > > > > > output > > > > > > > > > > $ ruby script/setup_database production > > > > > Run `setup_database --help` for information on additional options. > > > > > > > > > > Loading production environment...FAILED > > > > > /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col > > > > > > 2: ` > > > > > > > > socket: /tmp/mysql.sock' (ArgumentError) > > > > > from /usr/lib/ruby/1.8/yaml.rb:133:in `load' > > > > > from > > > > > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in > > > > > `database_configuration' > > > > > from > > > > > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in > > > > > `initialize_database' > > > > > from > > > > > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in > > > > > `process' > > > > > from > > > > > /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in > > > > > `run' from ./script/../config/environment.rb:15 > > > > > from script/setup_database:78:in `load_environment' > > > > > from script/setup_database:258:in `announce' > > > > > from script/setup_database:77:in `load_environment' > > > > > from script/setup_database:17:in `run' > > > > > from script/setup_database:9:in `run' > > > > > from script/setup_database:297 > > > > > > > > > > I took a look at the file, but nothing seems to be wrong. Any help > > > > > > would > > > > > > > > be greatly appreciated > > > > > > > > > > > > > > > Sara Vasquez > > > > > _______________________________________________ > > > > > Radiant mailing list > > > > > Post: Radiant@lists.radiantcms.org > > > > > Search: http://radiantcms.org/mailing-list/search/ > > > > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > > > > > > > _______________________________________________ > > > > Radiant mailing list > > > > Post: Radiant@lists.radiantcms.org > > > > Search: http://radiantcms.org/mailing-list/search/ > > > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > > > > > _______________________________________________ > > > Radiant mailing list > > > Post: Radiant@lists.radiantcms.org > > > Search: http://radiantcms.org/mailing-list/search/ > > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ > Radiant mailing list > Post: Radiant@lists.radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > _______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant