stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishanth Balasubramaniam <vishan...@wso2.com>
Subject Re: Faulty name in stratos-installer mysql resources
Date Tue, 09 Dec 2014 11:13:40 GMT
Yes i did and it worked. Just pointed out to correct them.

Thank you

On Tue, Dec 9, 2014 at 4:41 PM, Udara Liyanage <udara@wso2.com> wrote:

> Hi Vishanth,
>
> Please rename them so they match.
>
> On Tue, Dec 9, 2014 at 4:39 PM, Gayan Gunarathne <gayang@wso2.com> wrote:
>
>> Seems we need to rename file name as security-mysql.sql and
>> application-mysql.sql.
>>
>> Thanks,
>> Gayan
>>
>> On Tue, Dec 9, 2014 at 3:54 PM, Vishanth Balasubramaniam <
>> vishanthb@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> In the latest stratos-installer setup.sh file, the 2 files to be amended
>>> are security-mysql.sql and application-mysql.sql in the following lines of
>>> code.
>>>
>>>  # Database Configuration
>>>
>>>     # -----------------------------------------------
>>>
>>>     echo "Create and configure MySql Databases" >> $LOG
>>>
>>>     echo "Creating userstore database"
>>>
>>>
>>>     pushd $resource_path
>>>
>>>     ${SED} -i "s@USERSTORE_DB_SCHEMA@$userstore_db_schema@g" mysql.sql
>>>
>>>     ${SED} -i "s@USERSTORE_DB_SCHEMA@$userstore_db_schema@g"
>>> security-mysql.sql
>>>
>>>     ${SED} -i "s@USERSTORE_DB_SCHEMA@$userstore_db_schema@g"
>>> application-mysql.sql
>>>
>>>     popd
>>>
>>> But in the stratos-installer package
>>> (stratos/tools/stratos-installer/resources)
>>> the files are named
>>>
>>>    - security-*sql.mysql* instead of security-*mysql.sql*
>>>    - application-*sql.mysql* instead of application-*mysql.sql*
>>>
>>> Thank you
>>>
>>> --
>>> *Vishanth Balasubramaniam*
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94771737718*
>>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>>
>>>
>>
>>
>> --
>>
>> Gayan Gunarathne
>> Technical Lead
>> WSO2 Inc. (http://wso2.com)
>> email  : gayang@wso2.com  | mobile : +94 766819985
>>
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
*Vishanth Balasubramaniam*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94771737718*
about me: *http://about.me/vishanth <http://about.me/vishanth>*

Mime
View raw message