I think

set PATH=Applications/MAMP/Library/bin:$PATH

should be

set PATH=/Applications/MAMP/Library/bin:$PATH

looks like it's there and even without setting the path you should be
able to do:

/Applications/MAMP/Library/bin/mysql -u root

hope that helps
Tim

On Dec 19, 3:46 pm, Ryan Ororie <[email protected]>
wrote:
> > I'd imagine that somewhere under /Applications/MAMP is a directory
> > with a bunch of files with names starting with mysql. Look around, or
> > run this from a prompt:
>
> So I found the folder (who's contents I am going to list in my output in
> a second) with all the files starting with mysql. It is located here:
> Applications/MAMP/Library/bin - Here is what an ls of the dir revealed:
>
> bio4054059:bin rmorourk$ ls
> ab        mysql_convert_table_format
> apachectl      mysql_explain_log
> apr-config      mysql_find_rows
> apu-config      mysql_fix_extensions
> apxs        mysql_fix_privilege_tables
> autopoint      mysql_install_db
> checkgid      mysql_secure_installation
> cjpeg        mysql_setpermission
> comp_err      mysql_tableinfo
> curl        mysql_tzinfo_to_sql
> curl-config      mysql_upgrade
> dbmmanage      mysql_upgrade_shell
> djpeg        mysql_waitpid
> envsubst      mysql_zap
> envvars        mysqlaccess
> envvars-std      mysqladmin
> freetype-config      mysqlbinlog
> gettext        mysqlbug
> gettext.sh      mysqlcheck
> gettextize      mysqld_multi
> htdbm        mysqld_safe
> htdigest      mysqldump
> htpasswd      mysqldumpslow
> httpd        mysqlhotcopy
> httxt2dbm      mysqlimport
> iconv        mysqlshow
> idn        mysqltest
> innochecksum      mysqltestmanager
> jpegtran      mysqltestmanager-pwgen
> libmcrypt-config    mysqltestmanagerc
> libpng-config      ngettext
> libpng12-config      perror
> libtool        rdjpgcom
> libtoolize      recode-sr-latin
> logresolve      replace
> msgattrib      resolve_stack_dump
> msgcat        resolveip
> msgcmp        rotatelogs
> msgcomm        sabcmd
> msgconv        sablot-config
> msgen        type1afm
> msgexec        wrjpgcom
> msgfilter      xgettext
> msgfmt        xml2-config
> msggrep        xmlcatalog
> msginit        xmllint
> msgmerge      xslt-config
> msgunfmt      xsltproc
> msguniq        yaz-asncomp
> msql2mysql      yaz-client
> my_print_defaults    yaz-config
> myisam_ftdump      yaz-iconv
> myisamchk      yaz-icu
> myisamlog      yaz-illclient
> myisampack      yaz-marcdump
> mysql        yaz-ztest
> mysql_client_test    zoomsh
> mysql_config
>
> Assuming this was what I had been searching for, I did this:
>
> bio4054059:bin rmorourk$ echo $PATH
> /Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/bin:/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/sbin:/Users/rmorourk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:
> bio4054059:bin rmorourk$ set PATH=Applications/MAMP/Library/bin:$PATH
> bio4054059:bin rmorourk$ cd .. .. .. .. .. ..
> bio4054059:Library rmorourk$ cd ..
> bio4054059:MAMP rmorourk$ cd ..
> bio4054059:Applications rmorourk$ cd ..
> bio4054059:/ rmorourk$ cd Users/rmorourk/Sites/depot/
> bio4054059:depot rmorourk$ mysqladmin -u root create depot_devdb
> -bash: mysqladmin: command not found
> bio4054059:depot rmorourk$ mysql -U
> -bash: mysql: command not found
> bio4054059:depot rmorourk$
>
> As you can see the mysql command still isn't found, any thoughts? I feel
> like we are getting closer. Thanks for the help thus far!!
> --
> Posted viahttp://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 [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