Kör du PHP och har öppnat databaskopplingen med mysql_connect() så är det inte nödvändigt, eftersom PHP tar hand om den saken.
Using mysql_close() isn't usually necessary, as non-persistent open links are automatically closed at the end of the script's execution. See also freeing resources.