how to install mysql-server Ubuntu 18.04 - mysql

I am using windows 10 and installed Ubuntu from the windows app store. In the terminal I type sudo apt-get install mysql-server.
I have tried multiple guides of making sure I removed all Sql installs and files that could have been installed already. The strange thing is I just downloaded Ubuntu and never had mysql on the system. I continue to get the below error.
Error displayed
Setup Explained:
I just went to the windows store and downloaded the canonical software. Unfortunately, I dont know much about this linux. I just downloaded and I can just open up the ubuntu exe. This may be the root of my problem. Its a windows app.

Related

How to install specific of MySQL using apt package manager

I want to install a specific version of MySQL on my Ubuntu machine. Is there a way to install it using the package manager 'apt' or 'apt-get'?
In a normal installation, I'm getting MySQL 5.6 and when I try with MySQL documentation for MySQL 8, it installs version 8.0.25.
I looked into installing specific version of a package using 'package=version' in ubuntu with this Link
But, is that possible in the case of MySQL. If possible, where can I get the available version list? I want to install MySQL version 8.0.21.
To install a specific version, we have to use Archives
Download version 8.0.21 based on your system architecture from the archives
To unpack it, use this command with root access
tar -xvf mysql-server_MVER-DVER_CPU.deb-bundle.tar
You may need to install the libaio library if it is not already present on your system:
sudo apt-get install libaio1
For a basic installation of the MySQL server, install the database common files package, the client package, the client metapackage, the server package, and the server metapackage (in that order); you can do that with a single command:
sudo dpkg -i mysql-{common,community-client,client,community-server,server}_*.deb
For more details regarding installing and setup visit : MySQL installation guide

Can't download MySql in windows 10

I can't install MySql, every it shows that "MySql didn't find packages in the current bundle suitable for installation
MySql-download problem
if you are using Web community edition, try with the offline version and install it. In case of issue persist after download disconnect your internet. it should work.
I had to uninstall the previously installed versions. I had some kind of network problem so when I installed it for the first time, the installation wasn't complete. And I tried to install it again.

"No compatible server found" error came while installing mysql in windows 7

when i click on reconfigure it gives following screen
I'm trying to install mysql in windows 7 and I have downloaded mysql installer from https://dev.mysql.com/downloads/installer/
I started installing it but after some time it gives the following error:
no compatible server found.
I searched a lot for this, however I'm not able to install mysql on my system. Please give me some suggestions.
Is there any other software that has dependency to install mysql?
when i click on add it gives following screen
download and install Microsoft Visual C++ 2015 Redistributable. it worked for me
I too had the same issue. What i did was,
1- uninstall the msi community installer.
2- Install visual c++ 2019 Redistributer package (https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads) ([])
3- Now install MySql Workbench from (https://dev.mysql.com/downloads/workbench/)
NOTE: Download the Windows (x86, 64-bit), MSI Installer 8.0.20 35.6M
Download.
4- Now install the msi community installer that you've uninstalled in step 1
(Link:https://dev.mysql.com/downloads/windows/installer/8.0.html)
NOTE: Windows (x86, 32-bit), MSI Installer 8.0.20 420.6M
Download [For both 64 & 32 bit ] - (mysql-installer-community-8.0.20.0.msi)
Now the workbench will be added. Add the server from the installer and now we are good to go...
Thanks for the opportunity and knowledge
This error may be resolved by installing appropriate visual C++ version. for 5.7 its VC++ 2013 and for 8.0 its VC++ 2015.
After VC++ install rerun the installation and reinstall just server seperate. Configure it.
Then install any other tools like client etc,
(server installs with command line (Which was enough for my needs)
Steps:
Install MySQL Server from "MySQL Installer - Community" (already installed in your system.
While installing you would be asked to setup a server, so, just leave everything as it is and just put up a password and click next.
No after installation again you will see "MySQL Installer - Community". Then click "reconfigure" right in front of (see image in link below).
Then you will see the server in options. Just click it and enter password. (NOTE: let the username be "root", don't change it).
After doing all this MySQL will be installed.
https://i.stack.imgur.com/0O3YS.png

Install msql in Mac Osx

so I'm trying to use mysql as my database in sails js instead of mongodb, and I'm currently having a hard time configuring / installing it.
So basically what I did was in my app folder I typed
npm install sails-mysql
then I fixed all my configuration for sails js and I'm having a 500(E_UNKNOWN) error when I open my application or I open a page that connects to mysql. It seems that I have not mysql running and installed. So following this, http://dev.mysql.com/doc/mysql-macosx-excerpt/5.5/en/macosx-installation-pkg.html I installed mysql. Now, I can't seem to locate mysql on my computer to start it. I know that it should be in /usr/local/bin but when I open it using the terminal
open -a Finder /usr/local/bin
the mysql installation directory is not there. Is there anything that I'm missing? Or should I just install MAMP?

Install Navicat on Linux Ubuntu 12.04

How do I install Navicat on Ubuntu Desktop 12.04?
I have just configured a new Ubuntu 12.04. Because I'm not so familiar with the command line, I prefer to use Ubuntu Desktop so that I can have a GUI. Now I need to install a front-end to connect with MySQL.
I prefer to use Navicat in a MAC environment, so I was hoping to install Navicat on the Ubuntu machine. I downloaded a Linux copy of Navicat for MySQL from here:
http://www.navicat.com/download/navicat-for-mysql
The problem I am having is that I don't know how to install the program after it has been downloaded. There is a navicat.exe file in the navicat folder, but that seems to be for a DOS/Windows environment.
I just can't figure out how to install Navicat onto Ubuntu Desktop 12.04. Anyone have any ideas? Thanks.
You need to download Linux version of Navicat
And per online manual
Installation for Download Version
Open or Save the gzip file.
Extract the file into anywhere you wish.
Open the unziped folder.
Double-click start_navicat to start your
Navicat. Please note that it would take a while for starting-up.
A Registration screen will then be popup, key in the Registration Key
(16 digit) and click Activate to online activate the key.
UPDATE:
if you're on 64-bit box install all 32bit libraries
sudo apt-get install ia32-libs
install wine runtime environment
sudo apt-get install wine