mysql database creation on the same server of the website

Discussion in 'General' started by themark, May 20, 2015.

  1. themark

    themark Member

    on an multiserver enviroment I have problem when a customer create a database, on a different server that the website server is.
    Basically that is the example of what happened here:
    - we have a server (eg name: server1) where we add the website for the customers. That is also the server that we have specified on the "default server" for the customers;
    - when the server is full, we add a new server on the ispconfig stack (eg name: server2). On the customers we change the default server on server2 obviously;
    - the problem here is that if one customer want add a new database on one website hosted on server1, the ispconfig, automatically add the database on server2 (because this is now the default server for the customer).

    In that way we have website on a server, and database on another server. It's there a way to not permit that?
    In others words we want costrict the customers to add the database on the same server where the website is hosted).

    Hope that is clear enough.
    Thank you
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no option to enforce that at the moment. In ISPConfig 3.1 there is an option to define multiple servers for a customer, so while this is not exactly what you want (enforce the creation on the web server), this will at least give the option to create the database on the other server.

Share This Page