Re: how to create a Node Session using the X Protocol
Hi
You need to provide a password for your session, like this:
var session = mysqlx.getNodeSession('root@localhost', 'password');
or
var session = mysqlx.getNodeSession('root:password@localhost');
The first form is preferred, because it's easier to combine it with some safe way to pass the password, like:
var password = shell.prompt('Password:',{type:"password"});
var session = mysqlx.getNodeSession('root@localhost', password);
--
Alfredo Kojima
MySQL Developer Tools
Subject
Views
Written By
Posted
1628
May 23, 2016 11:52PM
Re: how to create a Node Session using the X Protocol
858
May 24, 2016 05:43PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.