Mysql successful but cant register/login in game?
#1

Mysql successful but cant register/login in game?
It dont show a dialog to register or login, i tried on external host same error. Is it because the mysql is for webhosts?

when i host it on my pc its fine
Reply
#2

Check mysql logs. If host is Linux, table names must be exact same because it is case-sensitive.
Reply
#3

how to check mysql logs?
Reply
#4

logs\plugins for R40+ or mysql_log.txt/mysql_log.html for R33+

Note `mysql_log` should not be set to none.
Reply
#5

I just created a mysql_log.txt to scriptfiles it does not show up anything
Reply
#6

The file does not have to be created in the scriptfiles directory. It needs to be in the root directory of your server.

Also, adding this to your public OnGameModeInit() before mysql_connect is called can show you errors, when encountered:
Code:
mysql_log(LOG_WARNING | LOG_ERROR);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)