On Sep 9, 3:13 pm, Oleg Tsarev <
oleg.tsa...@percona.com> wrote:
> If I right remembered, we removed "show patches" syntax...
> But I want first confirm, what "show patches" syntax doesn't work
Hi Oleg, I removed all slow_* and long_query_time from my.cnf,
restarted mysqld, and verified. 'show patches' does not work. Same
error as my original post. But it sounds like you removed this
functionality, so it's not a symptom of a larger problem. Good to
know.
> On Fri, Sep 9, 2011 at 11:37 PM, Baron Schwartz <
ba...@percona.com> wrote:
> > Are you sure you've actually installed Percona Server and it's actually
> > reading your my.cnf file? It looks to me like you might be connecting
> > to a different server than you think. Verify with @@hostname and
> > @@port, and of course show variables like "%version%";
Hi Baron, Good point, but indeed I am connecting to Percona Server
5.5. Transcript follows...
root@myhost-on-ec2:~# mysqld -V
mysqld Ver 5.5.15-55-log for Linux on i686 (Percona Server (GPL),
Release 21.0)
root@myhost-on-ec2:~# mysql -uroot
[...snip...]
mysql> select @@hostname,@@port;
+------------------------------------------+--------+
| @@hostname | @@port |
+------------------------------------------+--------+
|
myhost-on-ec2.amazonaws.com | 3306 |
+------------------------------------------+--------+
1 row in set (0.00 sec)
mysql> show variables like "%version%";
+-------------------------+------------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------------+
| innodb_version | 1.1.8-20.1 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.15-55-log |
| version_comment | Percona Server (GPL), Release 21.0 |
| version_compile_machine | i686 |
| version_compile_os | Linux |
+-------------------------+------------------------------------+
7 rows in set (0.00 sec)
And here's some good news... SOLVED! While I was writing this reply I
investigated further. The behavior was just too weird. It turns out
I had an additional my.cnf in mysql's datadir (/var/lib/mysql) that
was overriding /etc/mysql/my.cnf. I removed the extra my.cnf and
everything works as expected.
Thanks for your suggestions. Hope this didn't waste too much of your
time. And I even learned a couple of things: 1) 'show patches' is
gone, 2) don't put my.cnf in the datadir.
Dane
Dane