10.03.2017, 16:57
Thanks for your opinion.
[21:04:18] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2013 'Lost connection to MySQL server at 'reading authorization packet', system error: 10060' [21:04:19] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2013 'Lost connection to MySQL server at 'reading authorization packet', system error: 10060' [21:04:20] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2013 'Lost connection to MySQL server at 'reading authorization packet', system error: 10060' [21:04:21] [ERROR] CConnection::CConnection - establishing connection to MySQL database failed: #2013 'Lost connection to MySQL server at 'reading authorization packet', system error: 10060' |
Hi guys, I have some issues on this.
In my script, I make new tables for a database. It seems that I get this error, ** [MySQL]: Unknown column 'fDivision' in 'field list'. If I were to fix that, I'd just delete my existing database, and start up the server, and all the tables that were newly added in the script will be created by itself. But what if I have my players account in that database? How can I make that it would create by itself in the existing database (the newly added tables) upon server execution? |
Something's wrong going on ... Whenever I make a new registration and I'll log in I do not win the cash, I need to close my game and open it again to earn cash |
forward OnPlayerRegister(playerid);
public OnPlayerRegister(playerid)
{
// retrieves the ID generated for an AUTO_INCREMENT column by the sent query
Player[playerid][ID] = cache_insert_id();