Hi
This is WSO2 Cloud hosted in EC2. So If it can be telnet, then it is open
to the public. This is nothing to do with Infra. Amila can you check what's
going wrong here.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Thu, Jul 10, 2014 at 11:44 AM, Firzhan Naqash <[email protected]> wrote:

>
> Hi,
>
> You have to get the remote connection enabled from the Infra. By default
> it has been disabled.
>
> Regards,
> Firzhan
>
>
> On Thu, Jul 10, 2014 at 10:45 AM, Udara Liyanage <[email protected]> wrote:
>
>> HI,
>>
>> I tried telnet mysql-dev-01.cloud.wso2.com
>> <http://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx> 3006 and there was a
>> response. MySQL server seems to run on the given host and port. Please
>> check whether remote login has enabled from MySQL server side.
>>
>>
>> On Thu, Jul 10, 2014 at 8:15 AM, Nilashan Namasivayam <[email protected]
>> > wrote:
>>
>>> Hi,
>>>
>>> Even I tried like this, It shows same error.
>>> For the username for the database, It automatically create a username
>>> than I given, Like if I put dbuser then It creates dbuser_ubITB7my. So
>>> Do I use this one? and I have used this one also, It shows same error.
>>>
>>> Thank you,
>>>
>>> Regards,
>>> Nilashan
>>>
>>>
>>> On Thu, Jul 10, 2014 at 7:58 AM, Danushka Fernando <[email protected]>
>>> wrote:
>>>
>>>> Hi
>>>> When you use mysql client you have to give the host name for -h option
>>>> not the db URL. So try
>>>>
>>>> mysql -u dbuser -h mysql-
>>>> <http://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx>dev
>>>> <http://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx>-01.
>>>> <http://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx>cloud.wso2
>>>> <http://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx>.com
>>>> <http://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx> -p
>>>> On Jul 9, 2014 10:56 PM, "Nilashan Namasivayam" <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to add some data to the database in App Cloud.
>>>>>
>>>>> The database url like this:
>>>>>   jdbc:mysql://mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx
>>>>>
>>>>>
>>>>> and I have tried to connect via MySQL client like this
>>>>>      mysql -u dbuser -h jdbc:mysql://
>>>>> mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx -p
>>>>>
>>>>> After trying the above code, I get this error in console
>>>>>   ERROR 2005 (HY000): Unknown MySQL server host 'jdbc:mysql://
>>>>> mysql-dev-01.cloud.wso2.com:3306/db1_xxxxx' (2)
>>>>>
>>>>> What can be the problem?
>>>>>
>>>>> I'm following this documentation:
>>>>>
>>>>> http://docs.wso2.com/display/AppCloud/Add+Data+to+my+Database+or+Connect+to+an+External+Database
>>>>>
>>>>> Do we need any additional configuration in App Cloud than mentioned in
>>>>> the above link?
>>>>>
>>>>>
>>>>> Regards,
>>>>> Nilashan
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to