Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mysql.so
#4
Quarchodron Wrote:Jeszcze mógłbyś pomóc bo za ciul nie moge sie połączyć.
addEventHandler("onInit", function()
{
handler = mysql_connect("localhost", "root", "haslo", "gothic", 80);
if (handler != null)
{
print("Connected");
}else{
print("Polaczenie nieaktywne");
}
})

Na pewno na porcie 80 masz postawiony serwer MySQL'a?

@Edit jak rozumiem, zmienną handler zadeklarowałeś przed eventem onInit, prawda?
Reply


Messages In This Thread
Mysql.so - by Quarchodron - 16.06.2018, 13:01
RE: Mysql.so - by Profesores - 16.06.2018, 15:23
RE: Mysql.so - by Quarchodron - 16.06.2018, 15:40
RE: Mysql.so - by Patrix - 16.06.2018, 15:45
RE: Mysql.so - by Profesores - 16.06.2018, 15:50
RE: Mysql.so - by Quarchodron - 16.06.2018, 15:54
RE: Mysql.so - by Profesores - 16.06.2018, 16:29

Possibly Related Threads…
Thread Author Replies Views Last Post
  MySQL w G2O? Arkhan 7 5,138 05.07.2016, 16:09
Last Post: KimiorV
  MySQL Polskie Litery Galin 11 7,960 28.03.2016, 11:04
Last Post: Bimbol
  MySQL/pliki w gothic online 2? Dejv 4 4,561 19.10.2015, 20:41
Last Post: Dejv

Forum Jump:


Users browsing this thread: 1 Guest(s)