Comments on: How to use the MAMP Mysql command line client in a terminal http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/ Notes on Web Development Wed, 23 Dec 2020 09:25:05 +0000 hourly 1 https://wordpress.org/?v=4.8.15 By: Pat Fortino http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-10282 Wed, 29 May 2013 22:42:39 +0000 http://www.aschroder.com/?p=233#comment-10282 Great tutorial. Thanks

One thing missing on setting up ~/.bash_profile
After editing the file, you need to source it (reload .bash_profile) before you can use the mysql command or you need to log out and back in.
To source it, from the command line, enter source ~/.bash_profile

]]>
By: Kiran Biliyawala http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-5318 Mon, 24 Dec 2012 10:41:58 +0000 http://www.aschroder.com/?p=233#comment-5318 thanks a lot..!!
worked excellently.. 🙂

]]>
By: Даниил http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-5153 Thu, 15 Nov 2012 12:08:58 +0000 http://www.aschroder.com/?p=233#comment-5153 Спасибо,очень помогла статья!)

]]>
By: David http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-5069 Thu, 25 Oct 2012 04:12:38 +0000 http://www.aschroder.com/?p=233#comment-5069 Thanks man! That answer was more helpful than what I was finding on Stack Overflow.

]]>
By: JAumete http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-5015 Fri, 21 Sep 2012 22:22:10 +0000 http://www.aschroder.com/?p=233#comment-5015 Thanks! Usefull!

]]>
By: Matt http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-4406 Sat, 07 Apr 2012 21:08:24 +0000 http://www.aschroder.com/?p=233#comment-4406 You can also go to:

Applications/MAMP/Library/Bin/

and then double click on ‘mysql’. It brings it right up. However, as always, TMTOWTDI.

]]>
By: Simon Kindlen http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-4368 Sat, 07 Apr 2012 12:11:37 +0000 http://www.aschroder.com/?p=233#comment-4368 Ashley,

Thanks for this tip.

Needed to restart the terminal session and worked like a dream.

Peace,

Simon

]]>
By: Marcus Goss http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-3762 Tue, 20 Mar 2012 00:53:23 +0000 http://www.aschroder.com/?p=233#comment-3762 Thank you. I was veering back towards phpMyAdmin until I read this and now have new hope for learning mysql the proper way.

]]>
By: Laurent http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-3351 Tue, 06 Mar 2012 14:31:28 +0000 http://www.aschroder.com/?p=233#comment-3351 Ok forget all about my message, I have the answer.

Have a nice day!

]]>
By: Laurent http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-3350 Tue, 06 Mar 2012 14:29:01 +0000 http://www.aschroder.com/?p=233#comment-3350 Hello!

When I execute the command line, after entering my password I get this message:

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/Applications/MAMP/tmp/mysql/mysql.sock’ (2)

Do you know what happens?

I run under mac os 10.7.3

Or do you know any other mysql CLI for Mac?

Thank you for your kind reply!

]]>