For some reason, when using non-local databases, this creates a local database instead using SQLite. I give it all the information for an external database, but it seems to ignore that and make a local one instead.
The part where it's initialized:
PHP Code:
public SQL_Init()
{
g_hVault = sqlv_open( g_szHostname, g_szUsername, g_szPassword, g_szDatabase, g_szVaultName, false );
sqlv_init_ex( g_hVault );
}
public plugin_end()
{
sqlv_close( g_hVault );
}
EDIT: Nevermind, the database wasn't giving the correct permissions to allow external connections.
__________________