Hmpf i own the pro, i have the latest update, i closed my firewall and i used the same Login Informations from my websites, and i still can't login to my database on my webserver :<
here is the code:
Code:
//declaration of all mysql DLL functions
dllfunction mySQL_Connectdb(w,x,y,z);
dllfunction mySQL_Closedb();
dllfunction mySQL_ExecQuery(string);
dllfunction mySQL_GetVal(x,y);
dllfunction mySQL_GetStr(string,x,y);
dllfunction mySQL_RowNumber();
dllfunction mySQL_IsConnected();
string output_text = [255]; //max 255 chars
//just a textfield for testing
text combatskills_txt
{
pos_x = 20;
pos_y = 20;
string = output_text;
flags = visible;
}
function main()
{
if(!mySQL_IsConnected()&&!mySQL_Connectdb("database","host","user","passwort"))
{
beep;
exit;
}
str_cpy(output_text, "Connected!");
while(1)
{
wait(1);
}
}
of course i replaced host, user, database, etc.
but when i run it, i always get '0' returned ;<
The mysql and lib dll are in the acknex folder AND in the game folder.
whats wrong there? :/