I followed the perfect server guide to setup ISPConfig on CentOS 5.5 x64. I deviated slightly in the mySQL setup because I already have a dedicated mySQL server that I use for all my databases. I created a new user called "ispconfig" and gave it all privileges for the host that ispconfig is installed on. The install completed successfully and I can see that it created the database and tables on the mySQL server however whenever I try an login It fails (using admin & admin). When I look at the error log I see a message that says I tried connection to the DB server from that host and I am able to connect (using mysql -h mydbserver -u ispconfig -p). Where else could this problem lie? Thanks.
If "myip" is not 127.0.0.1 then you entered a wrong IP address during ispconfig installation or the "localhost" line in /etc/hosts points to a wrong IP. Ensure that you entered "localhost" as hostname of the mysql server as you installed ispconfig and that the "localhost" line in /etc/hosts has the IP 127.0.0.1 and no other IP address. Also ensure that you used the mysql user "root" when you install the system, ispconfig has to be bale to create the database and users that it requires. Using a existing oor non root user will cause the setup to fail. To fix the problems, uninstall ispconfig, install a local mysql server and reinstall ispconfig.
Mainly performance reasons. You can use external database servers e.g. for the client databases for the websites but using a external db as main database for ispconfig makes not much sense as it is simply too slow as services like the mail setup and dns are connected to it.