Posts: 384
Threads: 72
Joined: Jun 2009
Reputation:
0
Help Wanted, Assistance Wanted. <3
Posts: 384
Threads: 72
Joined: Jun 2009
Reputation:
0
No, I run the server.exe from my PC, but the SQL is on my website you see.hence the IP
Posts: 2,200
Threads: 14
Joined: Apr 2009
Reputation:
0
Did you create a user and set him so his hostname can be anything ?
Posts: 384
Threads: 72
Joined: Jun 2009
Reputation:
0
user for my cpanel is jminixah, directory is home/jminixah/ But the user for my Database is Rayyan.
Posts: 99
Threads: 2
Joined: Dec 2010
pawn Код:
// somewhere ontop of your script, under the includes.
#define MyHOST "ip" // Server IP
#define MyUSER "root" // change it to a user account for mysql
#define MyPASS "" // Password
#define MyDB "SQLDB" // Database name
// under OnGameModeInit
mysql_init();
mysql_connect(MyHOST, MyUSER , MyPASS, MyDB );
Also, alot of websites block incoming and outgoing MySQL traffic outwith it's own system.
Posts: 384
Threads: 72
Joined: Jun 2009
Reputation:
0
in cPanelX where it says Database (Add User), i added a user called Rayyan and password MyPass, I enter that info there?