At boot time, you cannot create a link to a file -- in this case, a socket -- that does not yet exist.
My assumption is that MySQL creates the socket when it is started. /var/run is for post-boot-time files.
I do not know if creating the socket and then linking it will work, I'm not a MySQL user. An alternative would be to configure your database to use TCP rather than sockets.