Cannot start SSH tunnel manager mysql workbench Ubuntu - mysql

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/

Related

How do I totally remove nd reinstall MySQL in my Ubuntu desktop PC

I had installed MySQL in my Ubuntu OS PC. But during the config setup, I had mistakenly set Disallow root login to Y. The MySQL Workbench was not able to connect. I accessed the config file from the terminal prompt:
sudo nano /etc/mysql/mysql.conf.d/mysql.cnf
I noticed that it did not have any config. It only had the following lines:
#The MySQL client configuration file
#Refer to https://dev.mysql.com/doc/refman/en/mysql-command-options.html
[mysql]
I entered the line
bind_address = 0.0.0.0
password = mypassword
But still unable to connect MySQL Workbench. From the terminal, I was now unable to login to MySQL
I tried to uninstall MySQL and reinstall it with the following commands:
sudo apt-get remove --purge mysql*
sudo apt-get purge mysql*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get remove dbconfig-mysql
sudo apt-get dist-upgrade
sudo apt-get install mysql-server
The last command did not proceed with the configuration. I had hoped that I will be able to set the Disallow root login to Y.
How do I uninstall/ reinstall MySQL and have MySQL Workbench connect to it.
Here's how I solved my problem First I uninstalled MySQL (again). Next, I decided to install XAMMP. I followed the how-to steps in one online resource. I launched the XAMPP and was able to connect to localhost/phpmyadmin. I was able to create a database and table, and add a record

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

ubuntu 16.04 install phpmyadmin 404

Operation system: ubuntu 16.04
Runs in a VWWare Player
I installed Lamp with apache2, php, mysql and it works just fine.
then I installed phpmyadmin
sudo apt-get install phpmyadmin
This installs a lot, but if I open the browser with localhost/phpmyadmin I get the 404 Error: Page not found.
I searched for other ways: I was told to just copy the phpmyadmin.***.tar file to the document_root folder. This works, but I don't have access to the Database. I get the User/PWD Dialog but I haven't set anything, so I don't know the password
I would like to get some help on the "sudo install phpmyadmin" way, which seems to me to be the right one.
Regards Martin
I read about some changes up from ubuntu 13
The following did the trick:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin
sudo service apache2 restart
After that I could open localhost/phpmyadmin (But I forgot the password)
So I removed phpmyadmin
sudo apt-get remove --purge phpmyadmin
and simply reinstalled it:
sudo apt-get install phpmyadmin
User name is phpmyadmin and the password has to be set during the installation
I would highly suggest installing this manually so it's up to date and as secure as possible.
cd to webroot
IE: cd /var/www/html
wget https://files.phpmyadmin.net/phpMyAdmin/4.7.7/phpMyAdmin-4.7.7-all-languages.zip && unzip phpMyAdmin-4.7.7-all-languages.zip
Make sure unzip + wget are installed.
apt-get install wget unzip
I also suggest renaming the phpmyadmin dir.
mv phpMyAdmin-4.7.7-all-languages random-name-here
have you tried root with no password? Sorry I'm not allowed to add this as comment.

How do I upgrade MySQL from 5.5 to 5.7 via SSH

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.

Mysql version is different in phpmyadmin

I just upgraded my MYSQL version from
5.5.40 to 5.6.22
but my PHPMYADMIN still show the same old version on Home Page
In terminal I checked version
mysql --version ==> 5.6.22
But when I check with "select version()" command inside Terminal and PHPMYADMIN
I got correct version 5.6.22
But on home page of PHPMYADMIN I get 5.5.40-0ubuntu0.14.04.1 - (Ubuntu)
In a post I read that there might be two mysql clients installed and may be phpmyadmin is referring to old client. If this is the case how can I delete old-client
Try removing php-mysql and installing php-mysqlnd. Will automatically done by following commands
sudo add-apt-repository ppa:nijel/phpmyadmin
sudo apt-get update
sudo apt-get install php5-mysqlnd
sudo apt-get --purge --reinstall install phpmyadmin
Or you can try reinstalling your phpmyadmin