Mysql errors
#1

These are the errors i am getting...
I have tried these codes - https://sampforum.blast.hk/showthread.php?tid=485633

Код:
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(73) : error 017: undefined symbol "mysql_log"
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(74) : error 017: undefined symbol "mysql"
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(74) : error 017: undefined symbol "host"
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(75) : error 017: undefined symbol "mysql"
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(100) : error 017: undefined symbol "Name"
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(100) : warning 215: expression has no effect
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(100) : error 001: expected token: ";", but found "]"
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(100) : error 029: invalid expression, assumed zero
C:\Users\Tarun\Downloads\samp037_svr_R1_win32\gamemodes\Untitled.pwn(100) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
Reply
#2

Comon help me
Reply
#3

Post all codes.
Reply
#4

I already showed you what I am using.. check that post..
Reply
#5

You put this
pawn Код:
static
    mysql, //This variable will be used to manage our database
    Name[MAX_PLAYERS][24], //We will use this variable to store player's name.
    IP[MAX_PLAYERS][16] //We will use this variable to store player's ip.
    ;
at the beginning of the gamemode?
Reply
#6

Yes.
Reply
#7

try using this tutorial, it is more updated.

https://sampforum.blast.hk/showthread.php?tid=574714
Reply
#8

Bugs have been cleared.. But when i start the server.exe . It says Could not connect to database. Why so?
Reply
#9

Quote:
Originally Posted by fuckingcruse
Посмотреть сообщение
Bugs have been cleared.. But when i start the server.exe . It says Could not connect to database. Why so?
You put all the information about MySQL correct? Database, pass, host and user?
Normally the host for pc is localhost and the user is root.

You start mysql and apache in xampp?
Reply
#10

I need to open The database? And 1 more thing , when I join game t doesn't show login /register box., is this because of The database?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)