ISPConfig 3 install problem - Unable to load sql-dump
I am trying to install ISPConfig 3 RC onto an Ubuntu system, following the install guide. After entering the MySQL credentials (our MySQL is on a different server) the following error happens:
Code:
ERROR: Unable to load SQL-Dump into database table.
The MySQL user does have access, as there is a successfully created database.
What might have gone wrong, and how can I solve this problem?
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
Please make sure that you used the mysql root user to install ISPConfig and make sure that the database name you entered in the installer not exist already as ispconfig creates the database itself.
Actually, I have tried it several times, with several users:
1. First time, I've created a MySQL user named "ispconfig" with all root privileges. SQL dump error.
2. Second time, I've copied the "root" user via PHPMyAdmin, with the host modified from "localhost" to the IP address of the ISPConfig host, so I have two root accounts (one is the original, new is for ISPConfig). Same error.
None of these approaches worked beyond correctly logging in and creating the "dbispconfig" database. They all stop with the SQL dump error. I've always deleted the database and flushed privileges before trying again.
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
The mysql database should be located on the local server for performance reasons as postfix etc. is using it directly. ISPConfig cares itself on database replication if used on multiserver setups.
But in general there is no problem to use a remote host as long as you enter valid database credentials for the remote server for a suer that has root priveliges. You should test the database connection from the remote host with the mysql command:
mysql -h remote.host.tld -u root -p
if you are able to login then, it should work for ISPConfig as well.
Recent comments
20 hours 19 min ago
1 day 5 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 14 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 8 hours ago
2 days 9 hours ago