Thread: [INC] SQLVault
View Single Post
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 09-22-2012 , 19:00   Re: [INC] SQLVault
Reply With Quote #117

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_openg_szHostnameg_szUsernameg_szPasswordg_szDatabaseg_szVaultNamefalse );    
        
sqlv_init_exg_hVault );
    }
    
    public 
plugin_end()
    {
        
sqlv_closeg_hVault );
    } 
EDIT: Nevermind, the database wasn't giving the correct permissions to allow external connections.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please

Last edited by nikhilgupta345; 09-22-2012 at 19:48.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345