Default config contains deprecated directives
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
| 5.6 |
Triaged
|
Medium
|
Unassigned | ||
| 5.7 |
Triaged
|
Medium
|
Unassigned |
Bug Description
When installing percona-server 5.6 on Ubuntu (5.6.21-
2015-01-06 13:50:18 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2015-01-06 13:50:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
The default my.cnf file contains these deprecated directives, but I cloned the percona-server repo and searched for these strings but couldn't find them, so I'm not sure where this config is coming from.
I also noticed that if these are overridden in a separate config file (in /etc/mysql/conf.d), these warnings are still shown, suggesting it's the config parser and not mysql itself that's complaining.
Nilnandan Joshi (nilnandan-joshi) wrote : | #1 |
Changed in percona-server: | |
status: | New → Incomplete |
This is on vagrant, so it's installing from scratch on a clean system that's never had MySQL on every time.
I can see one of those warnings in your example output.Ii think the correct my.cnf file is in packaging/
Have I perhaps got the wrong repo?
Hrvoje Matijakovic (hrvojem) wrote : | #3 |
@Nil,
Output should be visible in the error.log (for clean trusty install you can check /var/log/
root@trusty:~# aptitude why mysql-common
i percona-
i A libdbd-mysql-perl Depends libmysqlclient18 (>= 5.5.13-1)
i A libmysqlclient18 Depends mysql-common (>= 5.5.40-
Changed in percona-server: | |
status: | Incomplete → Confirmed |
tags: | added: pkg |
I've attached a Vagrant config that reproduces this problem.
To run it, install vagrant, put the attached file into a folder, cd into it and run 'vagrant up'.
All it does is get an ubuntu trusty image, adds the percona repo and installs the percona-
I noticed during the installation that it installs mysql-common (5.5.40-
I see that although percona-
If I modify the vagrant file to explicitly install percona-
==> default: The following NEW packages will be installed:
==> default: libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient18
==> default: libperconaserve
==> default: percona-
==> default: 0 upgraded, 10 newly installed, 0 to remove and 30 not upgraded.
==> default: Need to get 15.8 MB of archives.
==> default: After this operation, 143 MB of additional disk space will be used.
==> default: Get:1 http://
==> default: Get:2 http://
==> default: Get:3 http://
==> default: Get:4 http://
==> default: Get:5 http://
==> default: Get:6 http://
==> default: Get:7 http://
==> default: Get:8 http://
==> default: Get:9 http://
==> default: Get:10 http://
==> default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> default: Fetched 15.8 MB in 19s (812 kB/s)
==> default: Selecting previously unselected package libaio1:amd64.
==> default: (Reading database ... 60964 files and directories currently installed.)
==> default: Preparing to unpack .../libaio1_
==> default: Unpacking libaio1:amd64 (0.3.109-4) ...
==> default: Selecting previously unselected package mysql-common.
==> default: Preparing to unpack .../mysql-
...
Sorry - I didn't see your comments as I was writing the above. Thanks for confirming the issue.
Shahriyar Rzayev (rzayev-sehriyar) wrote : | #6 |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/
Unable to reproduce these warnings while install PS 5.6 on Ubuntu. so it doesn't seems that those files are coming with Percona packages. Can you please check all my.cnf files on your server with grep -r ? and see from where its taking old key_buffer_size variable settings?
Btw: is there any old version was installed on that server before you start installation of PS 5.6? it might be possible that old version is not completely purged so old my.cnf was there from where new installation was taking settings.
root@desktop: /var/lib# apt-get install Percona- Server- server- 5.6 verclient18. 1 percona- server- client- 5.6 percona- server- common- 5.6 verclient18. 1 percona- server- client- 5.6 percona- server- common- 5.6 percona- server- server- 5.6 server- common- 5.6. server- common- 5.6_5.6. 22-71.0- 726.utopic_ amd64.deb ... server- common- 5.6 (5.6.22- 71.0-726. utopic) ... rclient18. 1. erverclient18. 1_5.6.22- 71.0-726. utopic_ amd64.deb ... rclient18. 1 (5.6.22- 71.0-726. utopic) ... server- client- 5.6. server- client- 5.6_5.6. 22-71.0- 726.utopic_ amd64.deb ... server- client- 5.6 (5.6.22- 71.0-726. utopic) ... server- common- 5.6 (5.6.22- 71.0-726. utopic) ... server- server- 5.6. server- server- 5.6_5.6. 22-71.0- 726.utopic_ amd64.deb ... server- server- 5.6 (5.6.22- 71.0-726. utopic) ... rclient18. 1 (5.6.22- 71.0-726. utopic) ... server- client- 5.6 (5.6.22- 71.0-726. utopic) ... server- server- 5.6 (5.6.22- 71.0-726. utopic) ... defaults_ for_timestamp server option (see documentation for more details).
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libperconaser
Suggested packages:
tinyca
The following NEW packages will be installed:
libperconaser
0 upgraded, 4 newly installed, 0 to remove and 54 not upgraded.
Need to get 0 B/14.0 MB of archives.
After this operation, 137 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package percona-
(Reading database ... 230464 files and directories currently installed.)
Preparing to unpack .../percona-
Unpacking percona-
Selecting previously unselected package libperconaserve
Preparing to unpack .../libperconas
Unpacking libperconaserve
Selecting previously unselected package percona-
Preparing to unpack .../percona-
Unpacking percona-
Processing triggers for man-db (2.7.0.2-2) ...
Setting up percona-
Selecting previously unselected package percona-
(Reading database ... 230520 files and directories currently installed.)
Preparing to unpack .../percona-
Unpacking percona-
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up libperconaserve
Setting up percona-
Setting up percona-
* Stopping MySQL (Percona Server) mysqld [ OK ]
2015-01-16 14:45:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
2015-01-16 14:45:36 9576 [Note] Plugin 'FEDERATED' is disabled.
2015-01-16 14:45:36 9576 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-01-1...