how to Download MySQL-Proxy in linux 16.04 (LTS) - mysql

I'm running Ubuntu 16.04 LTS and I want to use Mysql-proxy.I want to download mysql-proxy by terminal with instruction and I have a ubuntu 16.04.
Any suggestions???

The mysql-proxy project seems to be abandoned since over 2 years which is the likely reason for its removal from the Xenial repositories. It's probably incompatible with newer MySQL releases.
The 3-years-old INSTALL notice recommends version 5.1.x while the Xenial repositories include MySQL 5.7 and no older release.

Anyway, you can try below link also.
https://www.howtoinstall.co/en/ubuntu/xenial/mysql-proxy

Related

MySQL installer for Windows (MSI) for 5.7.33 insists on installing 8.0 components

Our application database schema is compatible with MySQL 5.7. A new team member accidentally installed MySQL 8.0.22 on Windows 10 using the MSI installer. The uninstall of version 8.0.22 was successful. However, the subsequent install of version 5.7.32 insists on re-installing version 8.0.22 components. How can version 8.0.22 be cleanly uninstalled to enable a correct 5.7.32 install?
As it turns out, it looks like MySQL implemented an MSI installer that can lay down bits from multiple releases. In the Setup Type phase, you can choose which release to install. As such, withdrawing this question accordingly.

WSL install invalid command line option

I want to install an Ubuntu image in WSL.
But, I get a error when running wsl --install:
Invalid command line option: --install
I am using windows 10 education, version 20H2 OS Build 19042.867.
You are attempting to work from Windows Insider documentation, which is not meant for the general public, and it says so. WSL/WSL2 is a fast-moving target.
Most people should use the Microsoft Store to install WSL / WSL2. Search for Ubuntu. Several choices will be displayed. Pick the one simply called Ubuntu, not Ubuntu 20.04 LTS or whatever. The Ubuntu package is kept current.
VSCode has current instructions for installing Ubuntu, then VSCode. You don't have to install VSCode.
Make sure you follow the official instructions:
https://learn.microsoft.com/windows/wsl/install
Crucial is the Windows version: For Windows 10, it should be version 2004 or higher (Build 19041 or higher). Windows 11 should work with all versions.
Older versions need to follow the manual installation procedure: https://learn.microsoft.com/en-us/windows/wsl/install-manual

has anyone gotten mysql working on ubuntu 18.10?

I upgraded to ubuntu 18.10 and when I installed mysql server and workstation, the workstation wouldn't connect. the service --status-all says that mysql is running. This was a clean install, and I installed it the same way on 18.04 which worked. My friend has the same issue from a clean install
Lot of developers are facing some sort of issues after upgrading to Ubuntu 18.10 including me. I would suggest either wait for the update when they fix the issues or downgrade to Ubuntu 18.04

libjson-c.so.3 vs libjson-c.so.2 in Ubuntu

I am trying to run a C++ program developed on Ubuntu 18.04. It uses JSON-C shared library. It compiles and runs without any problem on my Ubuntu 18.04 system. However it compiles on a Ubuntu 14.04 system but crash upon running,
Reporting following message -
*** Error in `./main.out': corrupted size vs. prev_size: 0x00007fdd54f49e30 ***Aborted (core dumped)
After some digging I have found that something wrong with JSON-C library. I have checked the linked JSON-C libraries using ldd command.
It gave me following output in Ubuntu 18.04 -
libjson-c.so.3 => /lib/x86_64-linux-gnu/libjson-c.so.3 (0x00007ff16a88c000)
And following in Ubuntu 14.04 -
libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f0848838000)
I guess something wrong with JSON-C versions. I couldn't found any useful information on google. Any ideas what sort of problem this is?
Ubuntu 18.04 LTS includes a newer version of the library "libjson-c3". Previous versions, including Ubuntu 16.04 LTS and 14.04 LTS have an older version "libjson-c2".
These versions are different enough that they're incompatible.
If you must run your code on 14.04, you'll need to scrutinize the libjson calls to figure out where these compatibilities are.
Alternatively, you could try to run your application on newer 18.04, and not worry about supporting 14.04

Which mysql edition should I install for my CentOS server?

There are different mysql install packages for differential platforms.
http://www.mysql.com/downloads/mysql/#downloads
I'm using CentOS, which install package should I download?
The Generic Linux or Rethat/Oracle Enterprise Linux?
PS: I cannot install it with yum because of some irregular Transation error.
Thanks.
You can safely use the Red Hat & Oracle Enterprise Linux version on CentOS. I've always used those Rpm without any problems. CentOS aims to be 100% binary compatible with RedHat.
I would go with the Redhat version. CentOS uses RedHat source code.