MySQL is not saving in Linux.
#1

In Windows MySQL is saving fine.

However, In Linux, I test with my tester, I register it work...
However i notice this after i reconnect. And the dialog is register, It must be login..

Why it doesn't work in Linux?
It only works in Windows??
Reply
#2

Do you have the new plugin? On .so format.
Reply
#3

Yes, Also it's in R6, i recompile the script properly..
Reply
#4

bump..
Reply
#5

Since your using R6 put this under OnGameModeInit before you call any mysql functions.

pawn Код:
mysql_debug(1);
Which will create a debug file in your server directory that records errors. It's kind of hard to help when the only info we are given is that it doesn't work on linux. You might not even need help after you have read that file.
Reply
#6

here is the result

pawn Код:
CMySQLHandler::Connect() - Access denied for user 'root'@'localhost' (using password: NO) (Error ID: 1045)
Here is my code

pawn Код:
#define mysql_host "127.0.0.1"
#define mysql_user "root"
#define mysql_password ""
#define mysql_database "mysql"
Reply
#7

You need to get the MYSQL database details from your linux server host. Contact them and ask for the details for the MYSQL database. They are not the same as the ones you have been using on your windows machine.
Reply
#8

i saw this

Код:
DB Host (IP):
DB Host (Domain):
DB Port: 
PHPMyAdmin:
So how i could set it up in the script??
Reply
#9

Bump

i saw this

Код:
DB Host (IP):
DB Host (Domain):
DB Port: 
PHPMyAdmin:
So how i could set it up in the script??
so where should i put them??
Reply
#10

Check the Linux Database cause it can be very different from the windows database
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)