stricken kid mysql help -
KNIGHT786 - 07.12.2016
hy all,i have script of czcnr. I create a mysql database and fill all the mysql information on script and export the given sql file to database but when i upload all server file and try to run it it shows that mysql error [when not connected to any database and something more] .I start server and it dont shows the register or login option and server bug there. plzz dont send me tutorial bcz i cant understand a little word from tut.
![Sad](images/smilies/sad.gif)
Re: stricken kid mysql help -
Yaa - 07.12.2016
did u added mysql login informations to gamemode ? and did u recomplied it ?
Re: stricken kid mysql help -
KNIGHT786 - 07.12.2016
no idk how to add it and where i add it can u help me ?
Re: stricken kid mysql help -
RyderX - 07.12.2016
Well, KNIGHT786 i'll help you,
by the way in your gamemode there's a line under
OnGameModeInit()
Written like that
PHP код:
public OnGameModeInit()
{
profileStuff();
connection = mysql_init(LOG_ONLY_ERRORS, 1);
mysql_connect("127.0.0.1","port_2579","123456","port_2579", connection,1);
(localhost),(DB_USER),(DB_PASSWORD),(DB_NAME)
and just like that feel your database information in your CnR1.pwn and Complie it then upload and it'll be done
![Wink](images/smilies/wink.png)
.
Re: stricken kid mysql help - iLearner - 07.12.2016
Oh f*ck, another czcnr fan... Yo kid you better update the plugin or server won't run lmao.
Re: stricken kid mysql help -
RyderX - 07.12.2016
Quote:
Originally Posted by iLearner
Oh f*ck, another czcnr fan... Yo kid you better update the plugin or server won't run lmao.
|
R0fl u got fooled cause of cz's fans
Re: stricken kid mysql help -
KNIGHT786 - 08.12.2016
ryder bro i fill it
profileStuff();
f_init();
connection = mysql_init(LOG_ONLY_ERRORS, 1);
mysql_connect("127.0.0.1", "port_2509", "8tsdxn4bzu", "port_2509", connection, 1);
but when i compile it it shows error
close the program
check online solution this two error and pawno closed
Re: stricken kid mysql help - iLearner - 08.12.2016
Thanks for the PW, brb gonna delete all the shit from your db.
Re: stricken kid mysql help -
TheRohlikar - 08.12.2016
I recommend you, thanks to my experiences, to use
BlueG's plugin. It's not outdated, but actually new. (I guess newest update was a few days ago.
This guy recommended me that, before, too:
Quote:
Originally Posted by Yaa
did u added mysql login informations to gamemode ? and did u recomplied it ?
|
And now, I am really happy with that. (Y)
Re: stricken kid mysql help -
KNIGHT786 - 08.12.2016
hehehe its old pasand try to delete db lol