Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 11:53 pm EST
Geeklog Forums
Moving GL to anther server?
rv8
I've been working on a GL 1.3.6 site set up locally, intending to use my machine as a web server. But, now that I've read the fine print on my contract with my ISP, I've decided I need to move it to another server.
I've decided to use http://phpwebhosting.com/. Now I need to figure out how to move my site over there.
I can easily use scp to copy everything except the mysql database. I've got an empty database at phpwebhosting, but it has a different name than the one I have on my local server. Can I import my data into this database, and then change the name in the config.php file? If so, I would really appreciate it if someone could talk me through how to do the export/import. It looks like I'll have to use phpMyadmin to do the import side. I've used GL's backup function to do a backup.
Is there an easier way to move my site?
Thanks,
Kevin
Kevin Horton
Dirk
rv8
Kevin Horton
rv8
OK, I got the database populated. I found the mysql on-line docs useful. The mysqldump section said:The most normal use of mysqldump is probably for making a backup of whole databases. See section 4.4.1 Database Backups.
mysqldump --opt database > backup-file.sql
You can read this back into MySQL with:
mysql database
I had to add a -p option to the mysql command to make it ask for my password.
Now I just need to work through some path issues and I'll be cooking. I'll beg for help tomorrow if I can't beat these paths into submission.
Kevin Horton
rv8
Kevin Horton
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content