SA-MP Forums Archive
MYSQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MYSQL (/showthread.php?tid=434026)



MYSQL - Blackazur - 30.04.2013

Hello i have an Problem how to fix that? What must i do?


Код:
[20:11:18] >> mysql_real_escape_string( Connection handle: 1 )

[20:11:18] CMySQLHandler::EscapeString(FuTuRe); - Escaped 6 characters to FuTuRe.

[20:11:18] >> mysql_query( Connection handle: 1 )

[20:11:18] CMySQLHandler::Query(SELECT * FROM `users` WHERE `Username` = 'FuTuRe') - An error has occured. (Error ID: 1146, Table 'test.users' doesn't exist)

[20:11:18] >> mysql_store_result( Connection handle: 1 )

[20:11:18] CMySQLHandler::StoreResult() - No data to store.

[20:11:18] >> mysql_num_rows( Connection handle: 1 )

[20:11:18] CMySQLHandler::NumRows() - You cannot call this function now. (Reason: Dead Connection)



Re: MYSQL - Riddy - 30.04.2013

Quote:
Originally Posted by Your logs
(Error ID: 1146, Table 'test.users' doesn't exist)
Read?


AW: MYSQL - Blackazur - 30.04.2013

Also should i just create an new table with the name test.users ?


Re : MYSQL - Noliax8 - 30.04.2013

Create an new table with the name "users".