Do it easy – Transfer your MySql and Files
Transfer from a ftp to your server:
wget -r ftp://user:password@server.com/dir/*
Transfer your BBDD:
mysqldump -h oldhost -u oldusername -poldpassword olddbname | mysql -h newhost -u newusername -pnewpassword newdbname
Also, how to enable remote connections to your mysql:
Edit file my.cnf : vi /etc/mysql/my.cnf
Search for: bind-address = 127.0.0.1
Replace with: bind-address = 0.0.0.0 (to allow all machines)
This line must be commented: #skip-networking
Restart mysql: /etc/init.d/mysql restart
- LAMP + SVN in Ubuntu
- Ubuntu 10.04 Lucid Lynx in Eee PC 1101HA
- Add PDF files inside other PDF in PHP
- Banned sites with Squid proxy
- Error reporting for PHP
- How to Steer Comments in the Right Direction
- How to Use Your Corporate Blog for Networking
- Contest: Win $10 Gift Card from Barnes and Noble
Help sharing and Flatter me ;)
