Can anyone fill up the 'mysql' category in the Wiki, I want it, someone who knows about vcmp MySQL, can fill it up please?
I'll fill it up when I have time, You can use this link (http://forum.vc-mp.org/?topic=444.0) to know the basics and other functions of mysql.
New error:-
test <- mysql_connect("mysql11.000webhost.com","a3151520_kakan","ashittypasshere","a3151520_vcmp");
This shows that the index 'mysql_connect' doesn't exists.
I have loaded the mysql plugin too, then whats the problem?
Okay, that website doesn't allows external connections.
I moved to a new website for MySQL, it allows external connection tho.
I can access it through HeldiSQL, phpMyAdmin, but can't connect it to my VCMP server, what's the problem?
test <- mysql_connect("sql6.freemysqlhosting.net","sql693416","ashittypassagain","sql693416");
Try address as localhost
Quote from: Doom_Killer on Oct 18, 2015, 08:10 AMTry address as localhost
Nah, didn't work,
And I have 5MB of space for only ACCOUNTS and BANS! is it okay?
Define cant connect. Do you get an error?
It just says:-
the index 'mysql_connect' does not exists
Btw @Thijn please read and reply to my PM if you can.
Then the plugin isn't loaded. Make sure you add it to your server.cfg and it doesn't give an error when it's trying to load it.
Yea, I have loaded it, and it doesn't give any errors
Wait, is this the syntax for MySQL?
mysql_connect( szHost, szUsername, szPassword, szDatabase, iPort )
Problem fixed.
I haven't updated the MySQL file since a while.