Support for other DB-Engines

sergtop posted 8 years ago in General
Might be useful to support other DB-engines forked from MySQL, like Percona, MariaDB, etc with their native features. At the same time some native MySQL features may not be supported by these engines that causes error messages while using Heidi with these forks.
sergtop posted 8 years ago
this is not the same issue as issue #964 as these are forks with peculiarities, but not really other engines
ansgar posted 8 years ago
What exact features are missing for Maria or Percona?
srsbiz posted 8 years ago
As for Percona there one feature missing - an icon in session managersmile
ansgar posted 8 years ago
I have no Percona running here. If you tell me how Percona is reporting its version string I will probably be able to add a different icon. Is there an icon?
srsbiz posted 8 years ago
show variables like 'version%'

Variable_name	Value
version	5.5.13-55
version_comment	Percona Server (GPL), Release 20.4
version_compile_machine	i686
version_compile_os	Linux

As for icon I belive you can use favicon
ansgar posted 8 years ago
Thanks. Is that "percona" string not fetchable via
Fetching it via SHOW VARIABLES LIKE 'version%' will force me to add an extra query to the startup process, just to see if it's Percona or not.
ansgar posted 8 years ago
You can see what mysql_get_server_info() returns by moving your mouse to the status bar panel which says "MySQL 5.x.x", which then pops up some more details. Please report here what it does say. Thanks.
srsbiz posted 8 years ago
Popup doesn't say anything about Percona either.

As for extra query, now there are two queries fetching variables, maybe they can be reduced to one:

SHOW VARIABLES WHERE Variable_name IN('hostname','version_comment','version_compile_os')

ansgar posted 8 years ago
That WHERE... syntax would fail on older MySQL servers (was introduced in 5.0.3). Instead I'll just use SHOW VARIABLES and use it also for the host/variables tab.
ansgar posted 8 years ago
Done in r3930

Please login to leave a reply, or register at first.