Results 1 to 2 of 2
  1. #1

    cpanel use database server not on the same machine?

    hi,

    is it possible to make cpanel to use a dedicated database server on different machine other than the database on the same machine as the cpanle is on?

    server1: cpanle/whm, web, ftp, mail
    server2: databse(mysql)

    i know HSphere can be configured to work like this, how about CPanel?

    thanks!

  2. #2
    Join Date
    Dec 2000
    Location
    San Diego, CA
    Posts
    1,571
    If I'm not mistaken, you could edit /etc/my.cnf or /root/.my.cnf:

    [client]
    host=mysql.domain.com
    user=root
    password=password

    and it should work. It should even work if it uses programs like 'mysqladmin'. I'm not sure if PHPMyAdmin would like this though.
    -Mooneer
    Thoughtbug Software: Hosting shouldn't require any thought.
    Legitimate host? Support the Code of Ethical Conduct

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •