Anthony Baker
2007-Feb-27 18:53 UTC
Error Installing MySQL Native Bindings with DarwinPorts
Hey Folks, I''m just getting up and running, using DarwinPorts and encountered a MySQL error when trying to install. Would appreciate any insight any of you might be able to offer to resolve this. I''m trying to install the MySQL Native Bindings for a performance boost on the MySQL adaptor. The specific tutorial I''m following is as follows: http://paulsturgess.co.uk/articles/show/46 Many thanks in advance. Here''s an output of my terminal session: Anthony-Bakers-Computer:/opt AnthonyBaker$ sudo mysql_install_db5 --user=mysql sudo Installing all prepared tables /opt/local/libexec/mysqld: Too many arguments (first extra is ''sudo''). Use --help to get a list of available options Installation of system tables failed! Examine the logs in /opt/local/var/db/mysql5 for more information. You can also try to start the mysqld daemon with: /opt/local/libexec/mysqld --skip-grant & You can use the command line tool /opt/local/lib/mysql5/bin/mysql to connect to the mysql database and look at the grant tables: shell> /opt/local/lib/mysql5/bin/mysql -u root mysql mysql> show tables Try ''mysqld --help'' if you have problems with paths. Using --log gives you a log in /opt/local/var/db/mysql5 that may be helpful. The latest information about MySQL is available on the web at http://www.mysql.com Please consult the MySQL manual section: ''Problems running mysql_install_db'', and the manual section that describes problems on your OS. Another information source is the MySQL email archive. Please check all of the above before mailing us! And if you do mail us, you MUST use the /opt/local/lib/mysql5/bin/mysqlbug script! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---