Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    16

    Arrow Running 2 instances of MySQL

    Has anyone successfully run two instances of MySQL on one CPanel box? Specifically running version 4.0 and 4.1 as two different installations? If so, please let me know how to install the 2nd instance. If not, can anyone find a good way to do this?

  2. #2
    Member
    Join Date
    Apr 2003
    Location
    Lewisville, Tx
    Posts
    968

    Default

    There is no good reason to do this really. You will have problems because mySQL typically stores everything in /var/lib/mysql and the processes running might get confused trying to find two different spots IF you could get them defined. The /etc/my.cnf is where the mySQL settins are defined also so it would be difficult to seperate the different locations since that file is looked for by the mySQL startup.

    That said you can run 4.1 with support for old passwords used in 4.0 and before. That should make it so most scripts are able to be run. The logic between 4.0 and 4.1 were not changed that much other than password support.
    Kris
    NCServ, LLC.
    WebHosting - Dedicated Servers - Colocation
    sales@ncerv.com

  3. #3
    Member
    Join Date
    Dec 2006
    Posts
    5

    Default

    Has anyone had luck with this?

    I find it particularly interesting, since I have some sites running, and then want to make a cron script that downloads everything from another server... including the databases, leaving the mirror functional. Then, I'd like the backuper not to use the same instance than the one handled by cPanel.

    I don't have any control over the databases' names that will be downloaded from the second server.

    I'm reading about it

Similar Threads & Tags
Similar threads

  1. Why is Cpanel restarting all instances of Mysql
    By Mr. Bob in forum Database Discussions
    Replies: 4
    Last Post: 05-09-2010, 12:30 AM
  2. Why is Cpanel restarting all instances of Mysql
    By Mr. Bob in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-09-2010, 12:30 AM
  3. Cpanel shutting down ALL MySQL instances on server
    By Mr. Bob in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-02-2010, 03:48 PM
  4. MySQL not running
    By shuk007 in forum New User Questions
    Replies: 1
    Last Post: 04-02-2009, 10:09 AM
  5. Replies: 0
    Last Post: 01-03-2006, 06:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube