[Locomotive-users] MAMP and Locomotive

anathema spamfreeuniverse at gmail.com
Sat Jul 22 01:12:26 GMT 2006


NICE. I didn't try that, but you showed me that I was using the wrong  
format for the port. I was using this:

production:
   adapter: mysql
   database: mybadapp_production
   username: root
   password: root
   host: localhost:8889
   socket: /Applications/MAMP/tmp/mysql/mysql.sock

i was putting the port number after localhost.

It works now. We should change the wiki.

-A

On Jul 21, 2006, at 6:03 PM, Rafe Colburn wrote:

> I find that I have to set up my database.yml like this:
>
> development:
>  adapter: mysql
>  database: pubsite_development
>  username: pubsite
>  password: pubsite
>  host: 127.0.0.1		
>  port: 8889
>
> localhost doesn't work.
>
> On 7/21/06, anathema <spamfreeuniverse at gmail.com> wrote:
>> I am try to get Locomotive up and running using MAMP for easy access
>> to MySQL and not having any luck. I have followed the instructions
>> located here -
>>
>> http://locomotive.stikipad.com/home/show/Using+MySQL+with+Locomotive
>>
>> but am still receiving 'Unknown MySQL server host 'localhost: 
>> 8889' (1)'
>>
>> I am running the latest version of MAMP 1.3.1 and Locomotive 2.0.7.
>>
>> I believe part of the problem is that the documentation is out of
>> date. The directions say :
>>
>> One, open preferences in locomotive and add this to your "Additional
>> Path(s)" field:
>>
>> /Applications/MAMP/bin/mysql4/bin
>>
>> In my version of MAMP that path does not exist.
>>
>> Is anyone using the latest version successfully?
>>
>> -A_______________________________________________
>> Locomotive-users mailing list
>> Locomotive-users at lists.raaum.org
>> http://lists.raaum.org/mailman/listinfo/locomotive-users
>>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users



More information about the Locomotive-users mailing list