Re: db.properties confused
Laszlo, I didn't think twice about this but we had that in a prior version as well. It is not specific to 4.6. Did you upgrade this environment? On Fri, Mar 6, 2015 at 6:28 AM, Laszlo Hornyak laszlo.horn...@gmail.com wrote: Hi, After cloudstack-setup (4.6, latest) I looked into the db.properties file and I have found that the comment lines got mixed into the actual content. Anyone met this problem? # Licensed to the Apache Software Foundation (ASF) under one db.usage.maxActive=100 # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information db.cloud.name=cloud # with the License. You may obtain a copy of the License at db.cloud.password=ENC(let's skip this part..., but anyways) # software distributed under the License is distributed on an # http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the # Unless required by applicable law or agreed to in writing, # specific language governing permissions and limitations # License); you may not use this file except in compliance # KIND, either express or implied. See the License for the db.usage.maxWait=1 # High Availability And Cluster Properties db.usage.maxIdle=30 # CloudStack database settings db.cloud.autoReconnectForPools=true db.cloud.trustStore= db.awsapi.host=localhost # in which the management server(Tomcat) is running db.usage.name=cloud_usage # regarding copyright ownership. The ASF licenses this file # usage database tuning parameters db.cloud.poolPreparedStatements=false -- EOF -- Daan
Re: db.properties confused
Hi Daan, No, I installed a clean environment. On Sat, Mar 7, 2015 at 6:37 PM, Daan Hoogland daan.hoogl...@gmail.com wrote: Laszlo, I didn't think twice about this but we had that in a prior version as well. It is not specific to 4.6. Did you upgrade this environment? On Fri, Mar 6, 2015 at 6:28 AM, Laszlo Hornyak laszlo.horn...@gmail.com wrote: Hi, After cloudstack-setup (4.6, latest) I looked into the db.properties file and I have found that the comment lines got mixed into the actual content. Anyone met this problem? # Licensed to the Apache Software Foundation (ASF) under one db.usage.maxActive=100 # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information db.cloud.name=cloud # with the License. You may obtain a copy of the License at db.cloud.password=ENC(let's skip this part..., but anyways) # software distributed under the License is distributed on an # http://www.apache.org/licenses/LICENSE-2.0 # to you under the Apache License, Version 2.0 (the # Unless required by applicable law or agreed to in writing, # specific language governing permissions and limitations # License); you may not use this file except in compliance # KIND, either express or implied. See the License for the db.usage.maxWait=1 # High Availability And Cluster Properties db.usage.maxIdle=30 # CloudStack database settings db.cloud.autoReconnectForPools=true db.cloud.trustStore= db.awsapi.host=localhost # in which the management server(Tomcat) is running db.usage.name=cloud_usage # regarding copyright ownership. The ASF licenses this file # usage database tuning parameters db.cloud.poolPreparedStatements=false -- EOF -- Daan -- EOF
RE: db.properties
Hi Mike, If when installing your mysql server, you set a password for the mysql root user, you will need to specify that here. If you haven't encountered errors in your deploydb, you probably haven't set the mysql root user password and so you don't have to change the db.properties file. Typically, if we set this password, we copy over the db.properties file to db.properties.override and fill in this field in that file and it will get picked up by the db schema creation scripts. Regards, Vijay -Original Message- From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] Sent: Monday, August 05, 2013 10:49 AM To: dev@cloudstack.apache.org Subject: db.properties Hi, I was looking at my db.properties file and noticed I didn't fill in a value for the db.root.password key. Can someone tell me what filling in this value will change behavior wise in CloudStack? Thanks! Mike # CloudStack database settings db.cloud.username=cloud db.cloud.password=cloud db.root.password= db.cloud.host=localhost db.cloud.port=3306 db.cloud.name=cloud -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloudhttp://solidfire.com/solution/overview/?video=play *(tm)*
Re: db.properties
Ah, OK, thanks. It has been a long time since I first installed MySQL for CloudStack development and I don't recall exactly how I set it up back then, but it must have been without a password. On Mon, Aug 5, 2013 at 12:01 PM, Vijayendra Bhamidipati vijayendra.bhamidip...@citrix.com wrote: Hi Mike, If when installing your mysql server, you set a password for the mysql root user, you will need to specify that here. If you haven't encountered errors in your deploydb, you probably haven't set the mysql root user password and so you don't have to change the db.properties file. Typically, if we set this password, we copy over the db.properties file to db.properties.override and fill in this field in that file and it will get picked up by the db schema creation scripts. Regards, Vijay -Original Message- From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com] Sent: Monday, August 05, 2013 10:49 AM To: dev@cloudstack.apache.org Subject: db.properties Hi, I was looking at my db.properties file and noticed I didn't fill in a value for the db.root.password key. Can someone tell me what filling in this value will change behavior wise in CloudStack? Thanks! Mike # CloudStack database settings db.cloud.username=cloud db.cloud.password=cloud db.root.password= db.cloud.host=localhost db.cloud.port=3306 db.cloud.name=cloud -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloudhttp://solidfire.com/solution/overview/?video=play *(tm)* -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloudhttp://solidfire.com/solution/overview/?video=play *™*