[typo] db:create gives "Unknown database"
ruby-forum-incoming at andreas-s.net
Sun Aug 22 23:31:59 EDT 2010
Lark Dark wrote:
> Arun Gupta wrote:
>> I'm trying to install Typo 5.0.3 and "rake db:create" gives the
>> following error:
>> -- cut here --
>> (in /Users/arungupta/samples/jruby/typo-5.0.3)
>> rake aborted!
>> #42000Unknown database 'typo_dev'
I am new to Rails and Ruby and I've had a similar problem with a remote
copy of mysql running on a non-dns server on my internal home network.
192.168.0.101 is my Win7 Ruby development environment and a mysql server
is running on 192.168.0.103 on a FreeBSD machine.
I have the following settings in database.yml:
host: !str "192.168.0.103"
I had a number of problems connecting to mysql when both were installed
in fact so many that I moved the server to UNIX. Using SQLite works
I wanted to try MySQL.
The first problem I had connecting was the IP address not being picked
the YAML configuration file. After hours of haggling with various
found [!str "192.168.0.103"] works in converting the IP address to a
http://yaml.org/YAML_for_ruby.html was a useful resource, since I am new
The second problem I had was in thinking "rake db:migrate" would create
database for me. But reading advice in this forum, I created it manually
that seemed to do the trick. Tables got created in it.
Most people here probably already know this stuff but I thought I would
experience anyway since it has been an all-day affair to fix.
Posted via http://www.ruby-forum.com/.
More information about the Typo-list