The Coefficient of Determination $R^2=SSR/SSTO$ and Coefficient of Correlation $r=\pm \sqrt{R^2}$ where the slop of the fitted regression line determine the positive or negative.
However, I also remember another correlation coefficient https://en.wikipedia.org/wiki/Pearson_correlation_coefficient.
My question was that: Were they equivalent? If not what was the difference?
For the simpler linear model, $r^2$, which is the square of sample Pearson correlation coefficient, is equivalent to $R^2$. The prove is straightforward as you can find in @Benjamin's answer. For multiple regression, $R^2$ equals the square of Pearson correlation coefficient between the actual $y$ values and the fitted values, $\hat{y}$.