I'm try into install the latest PhpMyAdmin into the Redhat 6.4 and I can't get it working and getting dependencies error, I'm try install through YUM REMI and other file repo, all I can get it working is the old version 2.11 which is very old.
I manually downloaded the Phpadmin 4.xx. RPM and using Yum localinstall and still not working.
The box is running PHP 5.6.9 and MySQL Server 5.6.22-log
Anyone have any idea?
Usually it gets to work if we do the following as preliminary steps
Firstly clean your metadata: This cleans up any xml metadata that may have been cached from any enabled repository
$ sudo yum clean metadata
Then upgrade all of your system software to the latest version
$ sudo yum update
But, if you have installed PHP 5.6.9 from remi repository, then need to check the phpmyadmin version compatibility with php from remi repository. Do not downgrade php if there is a mismatch. In that case try this
yum --enablerepo=remi install phpmyadmin
If you get package not found
The EPEL repo contains the phpMyAdmin package we are looking for.
sudo yum install epel-release
Once EPEL is done try
sudo yum install phpmyadmin
For reference:
http://www.if-not-true-then-false.com/2012/install-phpmyadmin-on-fedora-centos-red-hat-rhel/
http://www.krizna.com/centos/how-install-phpmyadmin-centos-6/
Related
In Ubuntu 18.04 server, I use binary file to install zabbix4.0 according to the official website document of zabbix4.0, and I use MySQL 5.7.30 database. After installation, when I configure the front end of zabbix4.0,In the database configuration page, I only see one option of PostgreSQL, not mysql, as shown in the following figure:
In my server, I have installed MySQL version 5.7.30, and imported the data of ZABBIX 4.0 into the ZABBIX database, without any PostgreSQL installed
Excuse me, how can I make zabbix4.0 support MySQL 5.7.30 that I have installed? Thank you!
I installed zabbix4.0 according to the official documents:
https://www.zabbix.com/documentation/4.0/zh/manual/installation/install_from_packages/debian_ubuntu
This is my installation method:
# install zabbix
cd ~/download
wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-
release/zabbix-release_ 4.0-2+bionic_ all.deb
sudo dpkg -i zabbix-release_ 4.0-2+bionic_ all.deb
sudo apt-get update
#install Server/proxy/
sudo apt-get install -y zabbix-server-mysql
sudo apt-get install -y zabbix-frontend-php
With Ubuntu, you got two type of databases when donwloading Zabbix, PostgreSql and MySql. You need to re-download (I mean installation and configuration) Zabbix choosing MySql as database.
The following link could help Zabbix (Ubuntu) with MySql as database
The current version of the package is 4.0-3, so instead, you must do this :
Install repository
# wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-3+bionic_all.deb
# sudo dpkg -i zabbix-release_4.0-3+bionic_all.deb
# sudo apt update
Install server, frontend, agent
# sudo apt install zabbix-server-mysql zabbix-frontend-php zabbix-agent
I admit that I am new to back-end work in general and I seem to be stuck (for several hours) following through with completing the setting up process for Magento 2.3
I was following https://devdocs.magento.com/guides/v2.3/install-gde/prereq/mysql.html for my commands but to no success.
I managed to get the following installed:
Cent OS 7 (x86_64)
Apache 2.4.6
PHP 7.2.14 (all the extensions installed passed the Setup Wizard readiness check)
I used these commands to install MySQL 5.7 Community Release: (from the documentation)
wget http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
yum -y install mysql mysql-server
yum -y install mysql-community-server
To check if my installation went well, when I run:
mysql --version
I received an error message saying:
-bash: /usr/bin/mysql: No such file or directory
I know that there is something I definitely am missing out completely. When I try to start the MySQL service using the command:
systemctl start mysqld
I get the resulting error message:
Failed to start mysqld.service: Unit not found.
Any suggestions will much be appreciated. Thank you in advance.
Maybe it installed it as mariadb?
systemctl start mariadb
After removing MySQL 5.7 community release from my Cent OS, I decided to install MariaDB.
Inside the directory /etc/yum.repos.d/ I've created a file called MariaDB.repo and added this into the file:
# MariaDB 10.3 CentOS repository list - created 2019-01-25 05:36 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
I then performed the command in my terminal window:
sudo yum install MariaDB-server MariaDB-client
Because of this, mysql --version and systemctl start mysql works like a charm. Thanks #greenberet123 and #danblack for the suggestion.
while installing MYSQL workbench from software center, the system shutdown due to a power cut.
After I powered it back up, when I try to install the workbench again, it does not install and when I try to install it from command line using
sudo apt-get install mysql-workbench
I get following error.
The following packages have unmet dependencies: mysql-workbench :
Depends: libgdal.so.1-1.11.3 Depends: libgdal1i (>= 1.8.0) but it is
not going to be installed E: Unable to correct problems, you have held
broken packages.
Please help to install it on ubuntu 16.04
I had the exact same problem. I was not able to install it using apt-get, but I had no problem doing so with the .deb file:
Go to mysql-workbench download site
Select Platform > Ubuntu Linux > Download
No thanks, just start my download.
Open the deb file downloaded
Click Install
I hope this works for you too.
https://dev.mysql.com/downloads/repo/apt/
Download apt repository
Select “No thanks, just start my download“
2)install sudo apt install ./mysql-apt-config_0.8.15-1_all.deb
3)During the installation, we will be prompted by dialog box,click ‘OK’ to continue MySQL Workbench installation.
4)update apt
sudo apt update
5)install workbench
sudo apt install mysql-workbench-community
6)To launch run mysql-workbench
list held packages : apt-mark showhold
then
get them out of held state: apt-mark unhold
then remove them. then try your main install again.
on Ubuntu 19
1)I had to preceding it on Ubuntu 19 also install manually a library libzip
https://ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html
2) then manually selecting on download page deb package for mysql workbench
https://dev.mysql.com/downloads/workbench/
then install deb packages via standard apt installer in Downloads dir
sudo apt install ./libzip4_1.1.2-1.1_amd64.deb
and downloaded workbench deb package
sudo apt install ./mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
I am trying to upgrade MySQL on my VPS server. I have root access, but whne I try to run the following commands it says that it is not in the YUM repository.
sudo yum localinstall mysql57-community-release-el6-{version-number}.noarch.rpm (obviously replacing with the correct version number(
sudo yum install mysql-community-server
Then I get this message.
No package mysql-community-server available.
Error: Nothing to do
Any help would be great.
After upgrading to Ubuntu 14.04 Mysql 5.5.9 is incompatible with some of my scripts. I need to re-install Mysql 5.1. I tried research online but no luck
When I do
apt-get install mysql-server-5.1 mysql-client-5.1
Package mysql-server-5.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mysql-server-core-5.5:i386 mysql-server-5.5:i386 mysql-server-core-5.5
mysql-server-5.5
E: Package 'mysql-server-5.1' has no installation candidate
E: Package 'mysql-client-5.1' has no installation candidate
Tried to find multiverse source but no luck,
Anyone?
Uninstall existing mysql
sudo apt-get remove mysql-server
Download the MySQL APT repository config tool (as root)
wget http://dev.mysql.com/get/mysql-apt-config_0.3.5-1debian8_all.deb
Install the MySQL APT repository config tool
dpkg -i mysql-apt-config_0.3.5-1debian8_all.deb
Update APT
apt-get update
Install the server
apt-get install mysql-community-server
Thereby you can select the server you need and install