aqua
24th April 2008, 01:56
Hello:
Sorry for double posting but I wasn't getting any answers at the bottom of the original.
So anyway, I am moving my ispconfig installation to a proper host. I got to moving the databases part. I used:
mysqldump -h localhost -u root -psecret -c --add-drop-table --add-locks --all --quick --lock-tables --all-databases > sqldump.sql
and then restored using:
mysql -u root -psecret < backup.sql
Regarding the mysql database: have a look at the users and db table and add the user /db lines that don't exist on the new server but on the old server.
But I am not sure what it means.
So why would I need to add lines to the new server that are in the old server?
So far, I cannot access any of my databases.
Any help is appreciated.
Aqua
Sorry for double posting but I wasn't getting any answers at the bottom of the original.
So anyway, I am moving my ispconfig installation to a proper host. I got to moving the databases part. I used:
mysqldump -h localhost -u root -psecret -c --add-drop-table --add-locks --all --quick --lock-tables --all-databases > sqldump.sql
and then restored using:
mysql -u root -psecret < backup.sql
Regarding the mysql database: have a look at the users and db table and add the user /db lines that don't exist on the new server but on the old server.
But I am not sure what it means.
So why would I need to add lines to the new server that are in the old server?
So far, I cannot access any of my databases.
Any help is appreciated.
Aqua