Outside DB correspondence of Portal v3.5CR3

Document ID : KB000005240
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Portal 3.5 (Software edition). 

Also, the Portal DB(MySQL) is remote box. 

 

Environment 

Box1 : API Portal (Sofware Edition) 

Box2 : MySQL(Portal DB) 

 

Upgrade Portal to 3.5CR3. 

(run sh upgrade-v3.5.CR3.sh root 7layer ) 

 shown the following error. 

-------------------------------------------------------------------------------- 

Applying CR2 update... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 

done 

-------------------------------------------------------------------------------- 

 

Resolution:

It is known issue.

 

Fixed by new upgrade-v3.5.CR3.sh.

Please contact to CA support when the script is necessary.

Also, before running the script, you need run the following command .

'sudo ln -s /etc/alternatives/jre /opt/jdk'