Ryan Ororie wrote:
>> So based on this here is what I've done. It seems to be creating the 
>> database but then the rake command is saying there is no such database?
>>
>> bio4054059:depot rmorourk$ /Applications/MAMP/Library/bin/mysql 
>> mysqladmin -u root -p root create depot_development
>>
>> /Applications/MAMP/Library/bin/mysql  Ver 14.12 Distrib 5.0.41, for 
>> apple-darwin8.11.1 (i686) using  EditLine wrapper
>> Copyright (C) 2002 MySQL AB
>> This software comes with ABSOLUTELY NO WARRANTY. This is free software,
>> and you are welcome to modify and redistribute it under the GPL license
>> Usage: /Applications/MAMP/Library/bin/mysql [OPTIONS] [database]
>>     
Whenever you see a message starting "Usage:" it means you did not give 
the correct options and the program will then go on and tell you what 
the options really are (in this case in a lot of detail).  You in this 
case entered the wrong command:  You apparently entered:
/Applications/MAMP/Library/bin/mysql mysqladmin -u root -p root create 
depot_development
and correctly got an error message from mysql telling you that the 
options were all screwed up. 
What you really want is:
/Applications/MAMP/Library/bin/mysqladmin -u root -p root create 
depot_development
This will probably work and give you no output message (most Unix/Linux 
commands are silent on success).  Mysqladmin is a standalone command not 
a subcommand of mysql.  You probably should not have to enter the full 
pathname but it will work.

Norm

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to