Gallery3 restore mysqldump and var to new server
1. export database *.sql
2. backup /var/www/gallery3/var
Restore
1. create database (gallery3)
2. copy gallery3.sql to /var/lib/mysql
3. restore gallery3.slq >>
1. mysql -u root -p gallery3 < gallery3.sql
2. enter mysql root password
3. copy /var/www/gallery3/var to newserver
4. correct /var/www/gallery3/var/database.php
5. OK
2. backup /var/www/gallery3/var
Restore
1. create database (gallery3)
2. copy gallery3.sql to /var/lib/mysql
3. restore gallery3.slq >>
1. mysql -u root -p gallery3 < gallery3.sql
2. enter mysql root password
3. copy /var/www/gallery3/var to newserver
4. correct /var/www/gallery3/var/database.php
5. OK
ความคิดเห็น