PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, May 14, 2022

[FIXED] How do I switch to JS mode in mysql-shell when \js is an unknown command?

 May 14, 2022     javascript, mysql, python, shell, ubuntu     No comments   

Issue

I installed mysql shell on my Ubuntu VM.

As per all internet sources, when I input

mysqlsh

The default mode should be JS mode. However, my default mode somehow is python, and if I switch it to javascript mode by using

/js

It doesn't even recognize that command. Mysql mode works fine though. I've tried installing and reinstalling a couple of times to no avail.

What am I missing?

Here's what popped up when i switch to js mode


Solution

It looks like your version of MySQL Shell was compiled without Javascipt mode support. You can download official version of MySQL Shell from https://dev.mysql.com/downloads/shell/



Answered By - kgr
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing