tbrehm
2008-07-10 37d7556980539287f08c8640bf0bb55523c55b69
server/plugins-available/mysql_clientdb_plugin.inc.php
@@ -60,6 +60,7 @@
      if($data["new"]["type"] == 'mysql') {
         if(!include_once(ISPC_LIB_PATH.'/mysql_clientdb.conf')) {
            $app->log('Unable to open'.ISPC_LIB_PATH.'/mysql_clientdb.conf',LOGLEVEL_ERROR);
            return;
         }
      
         //* Connect to the database
@@ -104,6 +105,7 @@
         $link = mysql_connect($clientdb_host, $clientdb_user, $clientdb_password);
         if (!$link) {
            $app->log('Unable to connect to the database'.mysql_error($link),LOGLEVEL_ERROR);
            return;
         }
         
         //* Rename User
@@ -163,6 +165,7 @@
         $link = mysql_connect($clientdb_host, $clientdb_user, $clientdb_password);
         if (!$link) {
            $app->log('Unable to connect to the database'.mysql_error($link),LOGLEVEL_ERROR);
            return;
         }
         
         //* Get the db host setting for the access priveliges