fetching Error while installing mysql in ubuntu - mysql

While installing Mysql in ubuntu getting error like
unable to fetch some archives
how to solve this ?

try to update and upgrade using the following script.
sudo apt-get update && upgrade
then try to execute the MySQL installation command.
sudo apt install mysql-server
sudo mysql_secure_installation
sudo mysql_secure_installation

Try using:
sudo apt-get update
After that retry the install again.

Related

Installing workbench on ubuntu

I am trying to install MySQL Workbench on Ubuntu 20.04, and I run these commands:
sudo apt-get update && sudo apt-get upgrade
sudo apt install mysql-workbench
the error is:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-workbench
I used this way to install before but now I do not know what to do, please help, I am new in Ubuntu.
try this:
download snapd service using apt-get
sudo apt-get install snapd
after that install workbench
sudo snap install mysql-workbench-community
when it's done You need to enter a command to allow this package to access the service. The command is:
sudo snap connect mysql-workbench-community:password-manager-service :password-manager-service
You have to add the repository in your source.list file:
echo "deb http://repo.mysql.com/apt/ubuntu/ eoan mysql-tools" | sudo tee /etc/apt/sources.list.d/mysql.list
then:
sudo apt update
sudo apt install mysql-workbench-community
MySQL has updated their repository for Focal Fossa and removed the repository for Eoan Ermine. To install MySQL Workbench on 20.04, either download the Workbench for 20.04 from MySQL archives or follow the alternate method mentioned below replacing eoan with focal.
Refer this:
https://askubuntu.com/questions/1230752/mysql-workbench-not-supporting-with-ubuntu-20-04-lts

Can't install mysql in raspberry pi

I am trouble installing mysql, I have this broken package return on installing mysql error.
This is what tutorial I followed below:
and this is the result
EDIT1:
I followed Sebastian Dixon's answer
Before you install, it is important to run update and upgrade;
sudo apt-get update
sudo apt-get upgrade
then:
sudo apt-get install mysql-server nginx
Hope this helps.

Facing issue while installing PHPMYADMIN

I am trying to install PHPMyAdmin on my Ubuntu 16 setup.
I am using this document to do so:
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
But I am getting following error while installation:
I even try to uninstall mysql completely for which I used following steps, but it did not work.
Removing MySQL 5.5 Completely
First of all You have to remove whole phpmyadmin from your system using
sudo apt-get remove phpmyadmin mysql-server mysql-client
sudo apt-get purge phpmyadmin mysql-server
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install phpmyadmin
sudo apt-get install mysql-client mysql-server

Cannot start SSH tunnel manager mysql workbench Ubuntu

I am trying to connect to my Localhost using mysql workbench, but run into the " Cannot start SSH tunnel manager" every time. I have tried reinstalling workbench with apt-get. I also reinstalled python2.7 and imported paramiko.
Still doesn't work. I am running Ubuntu 14.10 64-bit.
Here is a screenshot of the error message when testing the connection.
http://i.imgur.com/wZIDVHo.png
I am happy to send over error logs, but I have no clue where to find them! ;)
I am using Apache2, phpmyadmin and mysql.
EDIT; I have also tried to run it with sudo-permissions. No change.
~ Thank you.
delete all your mysql installation previously and start new.
sudo apt-get remove --purge mysql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get update
sudo apt-get dist upgrade
if you install mysql workbench directly from Ubuntu software center, delete it, and install it using the .deb package at mysql website :http://dev.mysql.com/downloads/workbench/

Error installing mySQL in ubuntu - unable to locate package mysqld-server

I'm trying to install mysql server in ubuntu VM. I tried following commands:
sudo apt-get update && sudo apt-get upgrade
It gives an error saying that some files failed to download.
apt-cache search mysql
gives no result on mysql-server/mysqld-server
apt-get install mysqld-server
just gives the output in the title: unable to locate package mysqld-server
Could anyone give me a heads up? Thanks.
try this command
sudo apt-get install mysql-server-5.6