Bug #81187 mysqlsh missing from distribution tarball
Submitted: 24 Apr 2016 8:18 Modified: 4 May 2016 15:22
Reporter: Giuseppe Maxia (OCA) Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Packaging Severity:S1 (Critical)
Version:5.7.12 OS:Any
Assigned to: CPU Architecture:Any

[24 Apr 2016 8:18] Giuseppe Maxia
Description:
The tarball for MySQL 5.7.12 does not include the shell, which is available as a separate package, which installs server-wide.

In this situation, if I want to use mysqlsh, I need to install it as a generally available resource in my server, that is independent from any version of the server being installed.
This state of distribution prevents me from installing side to side two versions with different shells, or testing a shell being developed by me or a third party without affecting the whole host.
More specifically, I can't install a mysqlsh together with MySQL Sandbox. (https://github.com/datacharmer/mysql-sandbox/issues/17)

I understand that mysqlsh is not part of the server and the wish of the development team is to distribute it independently. However, the server package should include the latest mysqlsh that is compatible with the server being shipped, for all the reasons expressed above.

How to repeat:
Look inside the MySQL binary tarball.
[24 Apr 2016 13:56] MySQL Verification Team
Thank you for the bug report.
[4 May 2016 15:22] Erlend Dahl
[3 May 2016 0:59] Harald Botnevik

The Shell is presently provided as milestone/preview release, while Server is
GA. Possibly somehow packaging Shell with Server can be considered when Shell
matures into GA.

Much thanks for bringing this up.
[24 Jan 2017 18:31] monty solomon
The documentation implies that mysqlsh is built-in

3.4.3 MySQL Shell
https://dev.mysql.com/doc/refman/5.7/en/mysql-shell-tutorial-javascript-shell.html

MySQL Shell is a unified scripting interface to MySQL Server. It supports scripting in JavaScript and Python. JavaScript is the default processing mode. In most cases, you need an account to connect to the local MySQL server instance.

Start MySQL Shell

After you have installed and started MySQL server, connect MySQL Shell to the server instance. By default, MySQL Shell connects using the X Protocol.

On the same system where the server instance is running, open a terminal window and start MySQL Shell with the following command: