Verify that MySQL connection exists and add links after completion.