Mysql in remote server: problems

Discussion in 'Installation/Configuration' started by reverendo, Apr 30, 2010.

  1. reverendo

    reverendo New Member

    Hi I just installed the last stable release of ISPConfig.

    i've got 2 server, one for apache, php and ISPConfig and one for mysql.

    I've got standard installation, I gave install app the internal IP of mysql server and it looks like it was working ok.

    But when I try to create a database in ISPC, it appeas at db list but it's not created at mysql server

    I go to Monitor and at system registers I found this: Unable to connect to the database, but everything else works.

    Any ideas what's wrong?

    Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if you changed the mysql root password after the installation on the slave. You have to set the new root password in the file /usr/local/ispconfig/server/lib/mysql_clientdb.conf file.
     
  3. reverendo

    reverendo New Member

    Thanks!

    Hi for the answer.

    The problem wasn't a password change, in /usr/local/ispconfig/server/lib/mysql_clientdb.conf the user & pass are correct.

    But the $clientdb_host was set to "localhost" instead the IP I gave to the installation process.

    After change it, I try to create a new db and it works fine.

    Thanks a lot.
     

Share This Page