EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439328: Error " [MySQL] [ODBC 5.3 (w) Driver] Access denied for user 'root' @ 'xxx' (using password:YES)" appears when Intelligence Server gets restart on Linux environment.


Yating (Tiffanie) Zhai

Senior Cloud Support Engineer III • MicroStrategy


Error " [MySQL] [ODBC 5.3 (w) Driver] Access denied for user 'root' @ 'xxx' (using password:YES)" occurred when restarting the Intelligence Server in Linux environment.

For Intelligence Server on Linux which is configured with MySQL Metadata, when the Intelligence Server gets restart, below error appears.


Connection failed. 
Error type: odbc error. odbc operation attempted: SQLDriverConnect. [HU000:1045: on SQLHANDLE] [MySQL] [ODBC 5.3 (w) Driver] Access denied for user 'root' @ 'xxxx computer_name' (using password:YES) [IM006:0: on SQLHANDLE] [DataDirect] [ODBC lib] Driver's SQLSetConnectAttr failed [01000:364: on SQLHANDLE] The driver returned invalid (or failed to return) SQL_DRIVER_ODBC_VER: 03.80

CAUSE:
Error "Access denied for user "root"" here means the MySQL database user "root", not the Linux root user. The issue is caused by this Database user "root" cannot recognize the IP address of the localhost (Database Server).
If "Localhost" or "computer name" is used, the connection is fine.
ACTION:
Check the user "root" info from MySQL Database using below command:
 

use mysql; 
select User, Host, Password from user where user='root';

Find the Host information for this user only with "Localhost" and "computer name", that's why the issue occurs. Issue can be fixed if the IP address is added as the Host of this user or just using "Localhost" and "computer name" when connecting. KB39328 KB439328


Comment

0 comments

Details

Knowledge Article

Published:

January 19, 2018

Last Updated:

November 14, 2018