[MySQL] invalid connection handle
#8

Quote:
Originally Posted by Septikos
Посмотреть сообщение
Is it possible we could actually see the MYSQL_Connect part of the script (obviously removing any private data like passwords). Also have you attempted to make a more simple script with just a connection to see if the connection works on that script?
pawn Код:
//global variable
new mysql;

OnGameModeInit(){
mysql = mysql_connect(MYSQL_HOST, MYSQL_USER,MYSQL_DATABASE,MYSQL_PASSWORD);
}
I have not tried creating a smaller script since the functions work without error. The "CJ spawning" issue I solved by creating a timer setting the player spawn info since the query could have some slight delay.
Reply


Messages In This Thread
[MySQL] invalid connection handle - by introzen - 28.03.2016, 08:58
Re: [MySQL] invalid connection handle - by X337 - 28.03.2016, 13:26
Re: [MySQL] invalid connection handle - by introzen - 28.03.2016, 13:47
Re: [MySQL] invalid connection handle - by iKevin - 28.03.2016, 19:28
Re: [MySQL] invalid connection handle - by itsCody - 28.03.2016, 19:37
Re: [MySQL] invalid connection handle - by introzen - 28.03.2016, 20:31
Re: [MySQL] invalid connection handle - by Septikos - 29.03.2016, 03:29
Re: [MySQL] invalid connection handle - by introzen - 29.03.2016, 14:28
Re: [MySQL] invalid connection handle - by Septikos - 29.03.2016, 18:02
Re: [MySQL] invalid connection handle - by introzen - 29.03.2016, 19:20

Forum Jump:


Users browsing this thread: 1 Guest(s)