SQL errors
#1

IIt works fine on my pc then i moved my server accross to my VPS and now get this.

http://prntscr.com/6xqolj

Anyhelp would be great!
Reply
#2

Your VPS Linux or Windows?
Reply
#3

Windows Server 2008 R2
Reply
#4

Hmm, are you running the latest version of MySQL?
Reply
#5

I believe so i just installed it. Unless there's something wrong with my sql code in my script

g_MySQLConnections[0] = mysql_connect("localhost", "root", "DB", "pass");

mysql_debug(1);

mysql_query("set session query_cache_type=0;", THREAD_NO_RESULT, 0, g_MySQLConnections[0]);
Reply
#6

You may need to change the mysql_connect information, Since your not using 'localhost' since that's your own SQL DB, Try looking for you SQL information.
Reply
#7

What do you mean, i am hosting my own SQL server from my VPS so it would be localhost wouldnt it the server is hosted on same server as sql
Reply
#8

Your not loading your MySQL plugin
Reply
#9

Its in my server.config
Reply
#10

Quote:
Originally Posted by Lukex
Посмотреть сообщение
Its in my server.config
Just because it's in your config doesn't mean you're actually loading it. You're loading the lib not the actual plugin.
Reply


Forum Jump:


Users browsing this thread: