Zabbix-server Import different version host setting (5.0 -> 4.0) - zabbix

We were using zabbix-server 5.0 for years, but for some reason, we have to downgrade to zabbix-server 4.0.
So I created a new server, installed zabbix-server 4.0 on it.
There are many hosts, items, triggers, actions... in 5.0.
Since I was importing those settings into 4.0, the error shows below
One way I can do is to config one-by-one.
Is there a smarter way to do it?

Related

Installing MySQL 5.7 on Windows

I am struggling to install MySQL 5.7 on Windows 10 after a clean removal of MySQL 8.0. The installer defaults to the version 8.0.12, with no way for me to change it.
When I run the installer (which has the version number 5.7.23.0), I am prompted to the following screen:
... despite the fact that this installer is (supposedly) for specifically the version 5.7.
I am unfamiliar with the manual installation process, so I was wondering if someone could help me install MySQL 5.7 on my PC (preferably all the other MySQL products such as the Connector and the Workbench as well). I've been trying to follow the instructions on the official documentation, but I stopped because I had no idea what I was doing.
I removed my MySQL 8.0.11 installation
Then I removed all the MySQL folders in the program and data folders
I disabled the gateway
Then started the installer for version 5.7.24 and that was oke.
First download all requirements and install them first
Then the installation was done. At the Installation screen, the status was ready to download, but I ignored it first and then I enabled the gateway again and the installation was fine.
At the installation screen it was clearly that version 5.7 would be installed. It only installed some 8.0 products (like the Shell, Router, connectors etc).
After checking, i've got Workbench 8 but MySQL 5.7.24

How do I update phpMyAdmin on EC2 LAMP Server?

I have a LAMP server on an EC2 instance. I downloaded phpMyAdmin using Amazon's guide here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html.
On the phpMyAdmin page it says that:
"A newer version of phpMyAdmin is available and you should consider upgrading. The newest version is 4.6.5.2, released on 2016-12-05."
and I need to update it and also MySQL to use new features they put on the updates.
I'm accessing the EC2 instance from the terminal in my Mac laptop. I've tried a lot of things but I couldn't manage it. I've tried
sudo yum install -y phpMyAdmin
sudo yum install
I tried to manually download the latest version from phpmyadmin.net and change the files in the folder but I couldn't access the phpmyadmin folder in the first place.
Any help would be appreciated,
Thanks
You're using the version of phpMyAdmin maintained by your distribution (presumably Fedora, CentOS, or Red Hat); this means that basically you're not responsible for (or able to) upgrade the software that's under control of the package manager (aside from running the updates occasionally). If you wish to use a different version, you're certainly able to remove the package manager version then install it manually. I don't use EPEL, but I believe the highest version currently distributed is 4.4.15.9 (reference, which I think is because of the older versions of PHP and/or MySQL which are currently shipped. So you might not be able to upgrade due to your MySQL or PHP versions, but YMMV.
Basically, if you're using the package managed version, the whole point is so you don't have to worry about manual updates.
You can disable the notification by adding the directive $cfg['VersionCheck'] = false; to your config.inc.php (which may be in /etc/ or /etc/phpmyadmin, but I'm just guessing about how your distribution may handle it.).

Postfix install fails. MySQL conflict

I'm using CentOS 6, and trying to create a virtual mirror on a new server of an old one (which someone else setup). As much as possible, I want keep everything with the same version, but I've started from scratch and am documenting everything. By default, yum would install MySQL 5.1.73. I downloaded MySQL community v5.1.69 and installed it manually. This required installing a "shared compatibility" package of MySQL v5.1.69 first, and removing mysql-libs.x86_64. With that in place, I successfully mirrored MySQL.
Now, I'm trying to install Postfix. Yum wants to pull version 2.6.6-6. This fails because it requires a dependency that it attempts to install as well: mysql-libs.x86_64 v.5.1.73-5. It splits out a pile of errors messages which are all similar to this:
Transaction Check Error:
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.73-5.el6_6.x86_64 conflicts with file from package MySQL-server-community-5.1.69-1.rhel5.x86_64
My old server is using postfix v2.6.6-2, which is apparently compatible with MySQL v5.1.69. I found the rpm for that version of postfix. It doesn't install, because it requires mysql-libs. I can't install mysql-libs v.5.1.69, because it conflicts with the MySQL community edition (also 5.1.69) that I installed. I tried to install the MySQL 5.1.73 "shared compatibility" package, but that conflicts with MySQL community too.
I'm going in circles. Is the only way to break this chain to uninstall MySQL community? Must I just use the v5.1.73 default, and the Postfix 2.6.6-6? I don't expect any real problems, but I'm going to end up with slightly different versions of MySQL and Postfix then I am trying hard to mirror.
I gave up, uninstalled all the MySQL community packages, and just installed the out of the box yum MySQL and Postfix. That works, but I now have different versions of this software on these two servers as a result.

XAMPP on iMac - will it adversely affect built in Apache, Perl, PHP

The issue of importance here is installing and using MySQL on my iMac. To my knowledge, OS X (currently running OS X 10.5.8) has the Apache web server, Perl and PHP already installed (I've verified that by experiment). It does not have MySQL installed however and I'd like to install it.
I stumbled upon a couple versions of the Apache, Perl, PHP, MySQL bundle known by various names such as MAMP, XAMP and XAMPP. XAMPP seems to be the best of the bunch, but that's somewhat irrelevant to the discussion. What I'd like to know is if I install, say XAMPP, will this affect the built-in Apache, Perl and PHP instances installed on the machine? I don't want to mess those up in any way (i.e. will installing XAMPP change those installations?). If it's a separate install, could there be conflicts of some sort between the built-in Apache and the one installed from XAMPP?
In case it isn't obvious, I know next to nothing about web servers or their configuration.
See earlier SO question: XAMPP or MAMP on Mac OS X 10.6.2 (Snow Leopard)
Read the docs: XAMPP - and Bitnami for that matter http://bitnami.org/stacks - don't change or impact current OS X installs of apache, php, etc.
XAMPP docs say that XAMPP "comes as a Mac OS X Installer package which contains all the necessary files and requires no dependencies."
Regarding BitNami, I'd like to mention that if the installer detects any software running in the default port (for instance if you have your own Apache server running in your system), it will asked you to select a different port for BitNami and it will configure the new server using that port. You don't need to manually configure it after the installation, it is automatically done.

Perl: Is it possible to install Mysql module without having Mysql installation?

I'm trying to install the Mysql module on my development machine but it seems to want a local Mysql installation before it will install.
Is there a work around?
I don't need or want a local installation of Mysql, I'm querying a network machine with the installation.
DBD::mysql is a wrapper around the MySQL client libraries. You will at least need to install a client, just like you would need to a client to connect to a remove MySQL server anyway.
You don't specify what system you're on or how you are trying to install DBD::mysql.
You'll need the client libraries (and if you're installing from CPAN - the source of the client libraries) but you should not need MySQL Server. If on a linux the mysql-server package is a dependency of DBD::mysql, it would be a bug.