My Oracle Support Banner

GGSCI DBLOGIN to MySQL Login failed: . SQL error (2002). Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). (Doc ID 1515632.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle GoldenGate - Version 11.1.1.0.0 and later
Information in this document applies to any platform.

Symptoms

GGSCI> DBLOGIN SOURCEDB....  ,USERID ..., PASSWORD ...

Fails for MySQL database -

2012-11-15 22:58:19 WARNING OGG-00769 Oracle GoldenGate Command Interpreter for MySQL: MySQL Login failed: . SQL error (2002). Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).

And also the below error -

2012-11-15 22:58:19 ERROR   OGG-00770  Failed to connect to MySQL database engine for HOST localhost, DATABASE , USER test, PORT 3306.

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.