<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to use the MAMP Mysql command line client in a terminal</title>
	<atom:link href="http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/</link>
	<description>Notes on Ecommerce Web Development</description>
	<lastBuildDate>Fri, 12 Mar 2010 09:47:12 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nicholas Blexrud</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-909</link>
		<dc:creator>Nicholas Blexrud</dc:creator>
		<pubDate>Tue, 02 Mar 2010 23:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-909</guid>
		<description>Awesome. Just what I needed. Was using myPHPadmin and trying to import a database that was larger than 32mb. Much thanks!</description>
		<content:encoded><![CDATA[<p>Awesome. Just what I needed. Was using myPHPadmin and trying to import a database that was larger than 32mb. Much thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-906</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Tue, 02 Mar 2010 17:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-906</guid>
		<description>Very helpful, I ran into the same issue as Michael, having a database too large to import with phpMyAdmin. After getting a handle on the CLI, phpMyAdmin is a pain to use, so I&#039;m glad to have come across this workaround for MAMP.

As for getting to the mySQL command line as lazily as possible, I went this route:

cd ~
vi .bash_profile

Use the vi editor to add this to your profile:

# mysql command line access for mamp
alias db=&quot;/Applications/MAMP/Library/bin/mysql -uroot -p&quot;

Save your change, quit vi editor, and reload your profile (. ~/.bash_profile). Now you can just type &quot;db&quot; and you&#039;ll be prompted for your MAMP root password.</description>
		<content:encoded><![CDATA[<p>Very helpful, I ran into the same issue as Michael, having a database too large to import with phpMyAdmin. After getting a handle on the CLI, phpMyAdmin is a pain to use, so I&#8217;m glad to have come across this workaround for MAMP.</p>
<p>As for getting to the mySQL command line as lazily as possible, I went this route:</p>
<p>cd ~<br />
vi .bash_profile</p>
<p>Use the vi editor to add this to your profile:</p>
<p># mysql command line access for mamp<br />
alias db=&#8221;/Applications/MAMP/Library/bin/mysql -uroot -p&#8221;</p>
<p>Save your change, quit vi editor, and reload your profile (. ~/.bash_profile). Now you can just type &#8220;db&#8221; and you&#8217;ll be prompted for your MAMP root password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lichi</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-865</link>
		<dc:creator>lichi</dc:creator>
		<pubDate>Thu, 18 Feb 2010 16:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-865</guid>
		<description>Sweet!!... thanks.. 
And also thanks to Scott for the tip for the short command.</description>
		<content:encoded><![CDATA[<p>Sweet!!&#8230; thanks..<br />
And also thanks to Scott for the tip for the short command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: victor</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-810</link>
		<dc:creator>victor</dc:creator>
		<pubDate>Fri, 22 Jan 2010 06:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-810</guid>
		<description>wow thanks!! I knew how to do this on windows, but didn&#039;t know how to do this on my mac. saved me a lot of time! 

thanks again for this post</description>
		<content:encoded><![CDATA[<p>wow thanks!! I knew how to do this on windows, but didn&#8217;t know how to do this on my mac. saved me a lot of time! </p>
<p>thanks again for this post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Peters</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-792</link>
		<dc:creator>Michael Peters</dc:creator>
		<pubDate>Thu, 07 Jan 2010 11:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-792</guid>
		<description>Definitely took me out of a jam. I had a huge database to Import that was too big for phpMyAdmin, so I just went in to MySQL using Terminal as described and used the source statement to import the database. It took about 30 seconds.

Thanks.</description>
		<content:encoded><![CDATA[<p>Definitely took me out of a jam. I had a huge database to Import that was too big for phpMyAdmin, so I just went in to MySQL using Terminal as described and used the source statement to import the database. It took about 30 seconds.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff Taylor</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-630</link>
		<dc:creator>Geoff Taylor</dc:creator>
		<pubDate>Mon, 26 Oct 2009 09:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-630</guid>
		<description>Wow, looks like this will be very useful. Just going to start an &quot;Intro to SQL&quot; course using mySQL at eclasses.org, and wasn&#039;t sure how to get SQL commands working in MAMP. Thanks very much in advance.</description>
		<content:encoded><![CDATA[<p>Wow, looks like this will be very useful. Just going to start an &#8220;Intro to SQL&#8221; course using mySQL at eclasses.org, and wasn&#8217;t sure how to get SQL commands working in MAMP. Thanks very much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefan</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-422</link>
		<dc:creator>stefan</dc:creator>
		<pubDate>Sat, 29 Aug 2009 08:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-422</guid>
		<description>very helpful, thanks a lot!</description>
		<content:encoded><![CDATA[<p>very helpful, thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-375</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 24 Jul 2009 11:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-375</guid>
		<description>Alternatively you can create a link so all you will have to do is call mysql like this:
mysql -uroot -p

By entering these commands into terminal then you wont have to type the long command anymore.
//Fix mysql command line link for mamp
sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql
sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump
sudo ln -s /Applications/MAMP/Library/bin/mysqladmin /usr/local/bin/mysqladmin</description>
		<content:encoded><![CDATA[<p>Alternatively you can create a link so all you will have to do is call mysql like this:<br />
mysql -uroot -p</p>
<p>By entering these commands into terminal then you wont have to type the long command anymore.<br />
//Fix mysql command line link for mamp<br />
sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql<br />
sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump<br />
sudo ln -s /Applications/MAMP/Library/bin/mysqladmin /usr/local/bin/mysqladmin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dawood Abbas</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-248</link>
		<dc:creator>Dawood Abbas</dc:creator>
		<pubDate>Thu, 07 May 2009 04:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-248</guid>
		<description>I was getting nowhere with various overpriced books until I followed this tutorial. God bless!</description>
		<content:encoded><![CDATA[<p>I was getting nowhere with various overpriced books until I followed this tutorial. God bless!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manual labour</title>
		<link>http://www.aschroder.com/2009/03/how-to-use-the-mamp-mysql-command-line-client-in-a-terminal/comment-page-1/#comment-186</link>
		<dc:creator>manual labour</dc:creator>
		<pubDate>Tue, 14 Apr 2009 20:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.aschroder.com/?p=233#comment-186</guid>
		<description>Outstanding tutorial, saved me loads of time and effort after many, many dead ends. thanks!</description>
		<content:encoded><![CDATA[<p>Outstanding tutorial, saved me loads of time and effort after many, many dead ends. thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
