-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.deb packaging fixes: make mariadb-common a real package, which depen…
…ds on mysql-common and places mariadb-specific stuff in /etc/mysql/conf.d/mariadb.cnf. This should allow to co-exist with default Debian mysql-common package and help resolve dependencies when installing mariadb among multiple available versions of MySQL from different repositories.
- Loading branch information
Showing
8 changed files
with
83 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# MariaDB-specific config file. | ||
# Read by /etc/mysql/my.cnf | ||
|
||
[client] | ||
# Default is Latin1, if you need UTF-8 set this (also in server section) | ||
#default-character-set = utf8 | ||
|
||
[mysqld] | ||
# | ||
# * Character sets | ||
# | ||
# Default is Latin1, if you need UTF-8 set all this (also in client section) | ||
# | ||
#default-character-set = utf8 | ||
#default-collation = utf8_general_ci | ||
#character_set_server = utf8 | ||
#collation_server = utf8_general_ci | ||
# | ||
# * Fine Tuning | ||
# | ||
max_connections = 100 | ||
connect_timeout = 5 | ||
wait_timeout = 600 | ||
sort_buffer_size = 4M | ||
bulk_insert_buffer_size = 16M | ||
tmp_table_size = 32M | ||
max_heap_table_size = 32M | ||
# | ||
# * MyISAM | ||
# | ||
key_buffer_size = 128M | ||
table_cache = 400 | ||
myisam_sort_buffer_size = 512M | ||
concurrent_insert = 2 | ||
read_buffer_size = 2M | ||
read_rnd_buffer_size = 1M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
etc/mysql/conf.d/mariadb.cnf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash -e | ||
|
||
if [ "$1" = "purge" ]; then | ||
rmdir /etc/mysql/conf.d 2>/dev/null || true | ||
rmdir /etc/mysql 2>/dev/null || true | ||
fi | ||
|
||
#DEBHELPER# |