PDA

View Full Version : Cannot access Mysql from Mac's command line


ruffy
03-03-2010, 05:10 PM
I run MAMP 1.61 on a Mac 10.6.2.

I would like to add a new database from a
large sql file that phpMyAdmin cannot handle.
But when I type into the Mac's terminal
"mysql" - it does not find this command.

I used "cd" to go to:
me/applications/MAMP/Library/bin
where I see mysql files - but still
"mysql" yields "command not found".

And by the way, can you also show me what
command I would use to upload this file
to a new database called "newdb"?

Thanks!!

angst
03-03-2010, 08:56 PM
seems that this is a common issue:

http://forums.macosxhints.com/showthread.php?t=9089