Awijeet Mr. wrote:
> Veera Sundaravel wrote:
>> Awijeet Mr. wrote:
>>> I want to create an API for my web application so i need access on
>>> mysql.
>>> for that I need following info...
>>> 
>>> database host-name and  that I am unable to get...
>>> 
>>> 
>>> Thanks
>> 
>> you can simply use localhost as your host-name. And if you have 
>> login-details to ur mysql server means, create a DB and use it.
>> 
>> 
>> 
>> --
>> Regards,
>> 
>> T.Veerasundaravel.
>> http://tinyurl.com/25vma7h
>> @veerasundaravel
> 
> Thanks Veerasundaravel, but the thing is that the application has been 
> deployed already, and I have to create an API of it for i-pad. For that 
> I will be using Php as I am php developer so I need host name, to get 
> connected with db, can you tell me the name of file where i can get this 
> info, even at server (EY) I am unable to get the mysql host name.
> 

Ack!  No!  If the app is in Rails, extend it in Rails to create the API. 
Don't write a separate PHP app -- that's asking for trouble.

If the app isn't in Rails, then why the heck are you posting here?

> Thanks

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to