[typo] db:create gives "Unknown database"

Allan Bowhill ruby-forum-incoming at andreas-s.net
Sun Aug 22 23:37:07 EDT 2010


Allan Bowhill wrote:
> 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:
> 
> development:
>   adapter: mysql
>   encoding: utf8

Oh, one more thing. To get the connections going I had to download an
older version of libmySQL.dll from Oracle's website and installed it in
the /bin directory of my Ruby installation. The dll was version 5.1.x
and the server is also 5.1.x and I think that solved the connection
problem.
-- 
Posted via http://www.ruby-forum.com/.


More information about the Typo-list mailing list