We have an outstanding issue with VCC in chicago, there is an issue connecting to the mysql database
If an agent does a refresh of the monitor they will be logged out.
This is the error we get when the vcc web server starts.
[Error: MySQL server is requesting the old and insecure pre-4.1 auth mechanism.Upgrade the user password or use the {insecureAuth: true} option.] code: 'HANDSHAKE_INSECURE_AUTH', fatal: true }
I have done below step,but this issue still exsit.Please check.
old_passwords set to off
ALTER TABLE agent_login_session
CHANGE operatorId
operatorId
VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL – done
· info: socket.io started
###### Session SB Server connected fail! ######
{ [Error: MySQL server is requesting the old and insecure pre-4.1 auth mechanism.Upgrade the user password or use the {insecureAuth: true} option.] code: 'HANDSHAKE_INSECURE_AUTH', fatal: true }
1. update mysql to use long password()
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=0
2. ALTER TABLE `agent_login_session` CHANGE `operatorId` `operatorId` VARCHAR( 128 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
Please help me here.
Best Answer
Based on your
old_passwords
setting, I would ask you to look at three thingsmysql.user
PASSWORD FUNCTIONS
Please run the following:
Depending on where
old_passwords
is enabled or not, you should get either the following:MySQL 5.0 with
old_passwords
offMySQL 5.1 with
old_passwords
onMySQL 5.5 with
old_passwords
offMySQL 5.5 with
old_passwords
onPASSWORDS STORED
Please run this query:
If you get any
password_length
of 16, you have to enableold_passwords
for the old style authentication to work.PASSWORDS FROM CLIENT
In some cases, using mysql libraries that came from old yum installs of MySQL, PHP, Perl or Apache may have pre-MySQL4.1 user authentication code. Please upgrade such libraries.