Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
ISPConfig 3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 493
    • Issues 493
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 32
    • Merge Requests 32
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ISPConfig
  • ISPConfig 3
  • Issues
  • #2060

Closed
Open
Opened Jul 05, 2012 by David Stiller@Blackbit

Client-DB unused

Hi all!

mysql_clientdb_plugin.inc.php is not using the host-variable from server/plugins-available/mysql_clientdb_plugin.inc.php. "localhost" is hardcoded and so ignoring the setup and therfore not executing the statements on a client.

diff mysql_clientdb_plugin.inc.php /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php

160c160 < $db_host = 'localhost';

                          $db_host = $clientdb_host;

199c199 < $db_host = 'localhost';

                          $db_host = $clientdb_host;

213c213 < $db_host = 'localhost';

                          $db_host = $clientdb_host;

222c222 < $db_host = 'localhost';

                          $db_host = $clientdb_host;

251c251 < $db_host = 'localhost';

                          $db_host = $clientdb_host;

290c290 < $db_host = 'localhost';

                  $db_host = $clientdb_host;
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ispconfig/ispconfig3#2060