CocoaMySQL + MAMP
Posted: 28 September 2007 10:28 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  305
Joined  04-26-2007

Thought I’d share a tip for all the Mac developers out there…

I’ve been using (and loving) CocoaMySQL for some time now, but only remotely:  I couldn’t figure out for the life of me how to connect locally to my MAMP installation. (Had to resort to phpMyAdmin, which is lame.)

Now, this might be obvious to some folks, but for someone uninitiated into the mysteries of protocols and packets, it took me ages to figure out.  So in the interest of saving someone else some time scouring the internets for the answer, it turns out you need only edit one line.

The ‘socket’ field must read:

/Applications/MAMP/tmp/mysql/mysql.sock

(Assuming you’re using all the default MAMP paths. The default MAMP MySQL port, of course, is 8889.)

That’s it!  Happy coding…

 Signature 

OnWired LLC | EE Pro Network Member

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 02:47 PM
Total Registered Members: 115011 Total Logged-in Users: 118
Total Topics: 122444 Total Anonymous Users: 69
Total Replies: 647324 Total Guests: 534
Total Posts: 769768    
Members ( View Memberlist )
Active Members:    abicrockAdam FairholmAlex KendrickAndrew MacphersonartsenginebrendanhBrent BurgoyneBud Parr | Sonnet Media LLCbudulaycc000001Clarecmw1Compass360COSUCrucialD-RockD. Shun-Luoi FongDamian LewisDavid RousseaudemotivedesignerhandbagsdevmonkeyDjiveDLMAdmaclidoctorbrunoDouglas BackdubsakDutcheeDylan Smith/ContextDesignEastwood DesigneddieadamsErik ReaganetoshaFaithXForrest AndersonFrank SpilkerGeorgi VeznevGrasshopperLabsGreg Akergrovbergguru24HastingshealthsyshoojamaflipHosting ConceptsIngmar GreiljaasumJAM1515JamieFletcherJörg GudehusJKDesignjoemoJohn MortonJohn*JohnDjohnmckJonnyTurnerJordan MooreJosh StewartKerim SatirliKevin EvanskreateLaisvunaslaurentPLaurie RuggleslealealebisolLLeakeMarc TiedemannMario RodríguezMark CroxtonMarker MakerMatthew EllisMatthias HinrichsMichael HahnMiragemirkobNate RowenoddyOnno Groenopenmotivepab514Pascal KrietePaul VerheulpaulpramblinollierccjaxrchostingregistryRenmanrevealrich69richardquayrippeRobb OttenhoffrobtRyan J. BonnellsalainsargianteSean McDevittsgallasSteve FairhurstSteven GrantSteveSkiSupercoolSVA Interaction DesignTambour BattanttimprinttimurtvruwinkVic R.vicvega1972vobtoaviWaielWayne Smallmanzackmorgan