Difference between pic Vs pie

From the gcc documentation: -fpicGenerate position-independent code (PIC) suitable for use in a shared library… -fpieThese options are similar to -fpic and -fPIC, but generated position independent code can be only linked into executables….

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)