Ya i do have everything on my server. and first i tried to make the script connect to my server to check if he got the right to install or not, and it worked fine on all the server websites.
but on other server it couldn't work, i changed localhost to
P.V.Share, also i tried my server ip but it could not work. i think it don't allow remote mysql access !!