Ryan Ororie wrote: >> What you really want is: >> /Applications/MAMP/Library/bin/mysqladmin -u root -p root create >> depot_development >> > > Interesting, thanks... but now I am getting a problem with the password. > Observe: > > bio4054059:depot rmorourk$ /Applications/MAMP/Library/bin/mysqladmin -u > root -p root create depot_development > Enter password: > /Applications/MAMP/Library/bin/mysqladmin: Unknown command: 'root' > bio4054059:depot rmorourk$ > > When prompted for the password I typed root - which is what the password > is (at least in the database.yml file) but it gives me an unknown > command output? > > > > Rather inconsistently there should be a space between the -u and the username but there must not be a space between the -p and the password. an alternative is to use: mysqladmin --user=root --password=root create depot_development notice the double minus on the options in this form. man mysqladmin will give you information on the options and usage of the command.
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 -~----------~----~----~----~------~----~------~--~---

