Basically Sim link or Symbolic link is a type of File that contains a reference to another File/Directories in the form of an absolute and that affects path name.
The format for Sim link or Symbolic link is as follows
ln -s <file name> in the directory you want to make a link from.
For example
To set mysql Sim link or Symbolic link
ln -s ../../var/lib/mysql/mysql.sock mysql.sock
or
ln -s /var/lib/mysql/mysql.sock mysql.sock
You need to use above Sim link or Symbolic link as per your mysql setp.
Symbolic link,add Symbolic link,Sim link,add Sim link,what is Sim link