fix from trailing slash in nginx
enable mysql linking