Which sentence is correct?
The link you provided me is not correct, it is a link for xyz.
or this:
The link you provided me is not correct; it is a link for xyz.
Which sentence is correct?
The link you provided me is not correct, it is a link for xyz.
or this:
The link you provided me is not correct; it is a link for xyz.
Your second sentence is correct, as is. However, to be correct, your first sentence needs a semicolon, not a comma.
You could, by the way, punctuate the sentence by using neither a comma nor a semicolon:
The link you provided me is not correct but is a link for xyz.
As for what is correct grammatically, the thinking is if the two parts of the sentence (the part before and the part after the punctuation mark) can stand alone as sentences, then you can either make the punctuation mark a period or a semicolon, but not a comma.
A similar rule applies when adding an "interrupting word" to a sentence, as in
He was smart, however, he lacked common sense.
That sentence could be made into two sentences or one:
He was smart. However, he lacked common sense.
Or,
He was smart; however, he lacked common sense.