mysql help

Started by KAKAN, Oct 17, 2015, 08:56 AM

Previous topic - Next topic

KAKAN

Can anyone fill up the 'mysql' category in the Wiki, I want it, someone who knows about vcmp MySQL, can fill it up please?
oh no

Xmair

I'll fill it up when I have time, You can use this link to know the basics and other functions of mysql.

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

KAKAN

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?
oh no

KAKAN

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");
oh no

DizzasTeR

Try address as localhost

KAKAN

#5
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?
oh no

Thijn

Define cant connect. Do you get an error?

KAKAN

It just says:-
the index 'mysql_connect' does not existsBtw @Thijn please read and reply to my PM if you can.
oh no

Thijn

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.

KAKAN

Yea, I have loaded it, and it doesn't give any errors
oh no

KAKAN

Wait, is this the syntax for MySQL?
mysql_connect( szHost, szUsername, szPassword, szDatabase, iPort )
oh no

KAKAN

Problem fixed.
I haven't updated the MySQL file since a while.
oh no