MySQL query Question/Problem
[EN]
During the query the players lose their connection to the server, and only returned when the query is completed. How do I fix this? Obs: I'm using the SQLx. [BP] Durante a consulta os jogadores perdem a conexão com o servidor, e só voltam quando a consulta é concluída. Como eu conserto isso? Obs: Eu estou usando o SQLx. |
Re: MySQL query Question/Problem
I've only experienced this issue when I tried to connect to the database during gameplay, instead of during plugin_init().
Show your code. |
Re: MySQL query Question/Problem
PHP Code:
Obs: Most of my queries and I do using SQL_PrepareQuery and SQL_Execute. [BP] Obs: A maioria das minhas consultas eu faço utilizando SQL_PrepareQuery e SQL_Execute. |
Re: MySQL query Question/Problem
Thats because when you use SQL_PrepareQuery the native waits from de mysql answer.... Change your MySQL system and replace SQL_PrepareQuery with SQL_ThreadQuery
The link in my signature is a register system using MySQL, it use SQL_ThreadQuery if you want an example. |
| All times are GMT -4. The time now is 00:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.