Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    174
    cPanel/Enkompass Access Level

    Root Administrator

    Default Remote MySQL server -- 1 DB server, many cPanel boxes

    Am I correct in thinking that I can't have multiple cPanel boxes all using the same remote MySQL installation? My understanding is that some databases with the same names (e.g. eximstats) would cause issues, and I'm guessing if I happened to have two users on different servers who had the same username then there might be issues with database ownerships since their database names would start with the same prefixes.

    I'm intending to use one remote server with multiple MySQL instances bound to different IP addresses, one for each cPanel server. But obviously if it can be easily done with just one MySQL instance on the remote server then that might be better.

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Your assumptions and understanding is correct. This will improve in cPanel 11.25.1 with the database mapping feature (Software Releases - cPanel Inc.)
    Kenneth
    Product Manager
    cPanel, Inc.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You may even considering using something like openvz for this, then if you ever want to migrate one of them to a dedicated MySQL you can migrate the VZ over. Granted MySQL is pretty simple to migrate anyways..

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Important cPanel/WHM Version Number Designation Change

    Please Note: Important cPanel/WHM Version Number Designation Change

    As of July 28, 2010 the cPanel/WHM version number designations have been officially changed.

    Version 11.25.1 is now designated 11.28 and version 11.25.2 is now designated 11.30.

    These new changes were explained in some detail recently at the July 2010 - Quarterly Road map - Webinar direct from cPanel's PodCast Studio in Houston, Texas with speakers David Grega and Mario Rodriguez.

    An official press release about these changes is forthcoming and can be accessed at this link as soon as it's made available to the Forum Team:
    Important cPanel/WHM Version Number Designation Change (To be updated)

    This post serves to update users who are subscribed to threads (where this message is posted) looking forward to upcoming enhancements in future versions of cPanel.

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    30

    Default Re: Remote MySQL server -- 1 DB server, many cPanel boxes

    Id like to know how the database mapping feature helps solve this.

    I have 3 cpanel webservers, and one main mysql server.
    The original plan was to have all 3 webservers sharing the same mysql server but due to conflicts with database names like modsec and eximstats, this fails hard.

    How would I go about prefixing database names, so i ended up with for example
    host1_eximstats
    host1_modsec
    host2_eximstats

    Many Thanks

Similar Threads & Tags
Similar threads

  1. How can I use remote mail server and mysql server with cpanel?
    By Seyhun in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-29-2011, 01:48 PM
  2. Remote MySQL server -- 1 DB server, many cPanel boxes
    By astopy in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-30-2010, 02:37 PM
  3. cpanel backups + remote mysql server?
    By Funkadelic in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-29-2008, 03:03 PM
  4. Replies: 1
    Last Post: 09-17-2005, 12:32 AM
  5. Problems to configure remote mysql server in one server cpanel
    By deicox in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-15-2004, 06:48 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube