Commit Graph

6 Commits

Author SHA1 Message Date
Lance Albertson c72c025288 Remove support for mysql
Upstream distributions have settled on using MariaDB instead of MySQL
and it's becoming more and more difficult to maintain on our end. As
such, we're removing support from this cookbook for MySQL and only leave
MariaDB as the supported platform.

Change-Id: I104de18ecab5ba64f08fd39314e565ab0483c558
2020-03-30 13:50:33 -07:00
Mark Gloshen acc54b2680 Add additional mysql tunables
Adding more mysql tuning options to better support production-like
environments. These additional attribues have been set to default
values that match the mysql defaults. Including spec tests.

Change-Id: Iadb0746354ea93a6beef9ecbae5d1bdc5cec1d48
Closes-Bug: #1436481
2015-04-09 15:13:03 -07:00
Yi Ming Yin 9a864936c4 Add mariadb database configuration support
1. Add 2 new recipes to configure mariadb client and server
2. Partially reuse existing code for mysql support
3. Add delete empty user and users with empty password workaround.
Current mysql cookbook can do this, but mariadb cookbook doesn't.

blueprint: mariadb-support
Change-Id: I034cedb07f8bf11f271fc351f9a7ad534067b95a
2015-03-27 14:28:35 +08:00
Mark Vanderwiel baa3b76fcb MySql cookbook ver 6 changes
mysql cookbook is now provider driven, and no longer has default
attributes, like server_root_password.
For the password, now always using the Common password methods.

For the other mysql attributes we used, these were moved into the
attributes mysql.rb file.

The attribute name space was changed from
[mysql][**attr**]  and [mysql][tunable][**attr**]  to
[openstack][mysql][**attr**]

This patch requires updates to the database and mysql-chef-gem cookbooks.mysql cookbook ver 6 changes

Change-Id: I05d27de80de0371503c5fa71591b4600bbeb2ca9
Implements: blueprint trusty-juno
2015-02-13 08:10:31 -06:00
Mark Vanderwiel a27cfab06e Allow max_connections to be overridden for mysql server
The default of 151 is very small for most openstack use cases.
Picked a higher recommended default that can be overridden as
necessary.
Added stub for newer postgresql cookbook level spec tests.

Change-Id: I0d7b0893d143202f55f04ddcdbc8618aaaacef25
Closes-Bug: #1398527
2014-12-02 15:28:39 -06:00
bradkwadsworth 66b73078b0 Update database and mysql dependency.
Now depends on mysql ~> 5.3 and database ~> 2.2.
The mysql-server recipe now uses the mysql cookbook
wrapper method.

Blueprint: move-to-mysql-v5
Change-Id: I74111ead1555c46d32c3e096c380fec27b3ef593
2014-07-15 15:15:49 -05:00