Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Dec 2008
    Posts
    153

    Default Remote MySQL?

    I saw that WHM has a remote mysql server option. I am thinking about using it, only question I have is... if I use it, and everyone has the mysql server set to localhost, will that kill the mysql websites?

    If so, what can I do to fix this? Other than have all my customers go into the script manually to change the mysql server...

    Also, what will change? Will restores still work well? Will it create mysql users/dbs when a user requests it?.. etc

    And.... will it ever be possible to use more than 1 mysql server?

    Thanks!

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

    Root Administrator

    Default

    The configs won't have to be changed, yes backups should work. Everything can keep using localhost

    Well you could use more then 1 MySQL server via something like mysql-proxy but it is not something that is supported at all.

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    2

    Default db

    Hi!

    A have set up a cpanel with remote mysql server.
    My demo config:
    cpanel:
    centos VPS with cpanel WHM (demo)
    mysql:
    debian VPS

    the configuration is OK, it works.

    We have got 200 customers, and we will to change to cpanel.
    The MYSQL server is on a solaris zone. It is possible to make the remote connecting with it. I will import the 200 users MYSQL databases to cpanel, with privileges (user settings). The mail/web dir a will import manuali to cpanel server(copy-paste-setuser:group).

    It is possible? Works it?

    Thanx xilu

  4. #4
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    552
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default how is this done ?

    Quote Originally Posted by eth00 View Post
    The configs won't have to be changed, yes backups should work. Everything can keep using localhost

    Well you could use more then 1 MySQL server via something like mysql-proxy but it is not something that is supported at all.
    I tried using the mysql change to remote mysql server - but it seems it just did not work well.

    The databases did not get copied over - is this something we manually have to dump?

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

    Root Administrator

    Default

    Quote Originally Posted by hostmedic View Post
    I tried using the mysql change to remote mysql server - but it seems it just did not work well.

    The databases did not get copied over - is this something we manually have to dump?
    Correct. It is up to the server admin to migrate the databases to the remote server. If that is not already noted in the Remote MySQL setup interface it should definitely be added.
    Kenneth
    Product Development
    cPanel, Inc.

Similar Threads & Tags
Similar threads

  1. not able to connect remote MySQL : Remote Database Access Hosts
    By crazyaboutlinux in forum Database Discussions
    Replies: 4
    Last Post: 10-05-2011, 04:55 PM
  2. Replies: 3
    Last Post: 09-13-2010, 03:36 PM
  3. Remote MySQL and /var/lib/mysql/mysql.sock
    By emechanic in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-02-2009, 02:08 PM
  4. Replies: 1
    Last Post: 09-17-2005, 01:32 AM
  5. Replies: 4
    Last Post: 12-24-2004, 11:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube