Sunday, October 25, 2009
As I have explained previously, if your Host is not allowing access to mysql remotely with SSH, dont worry. One way is to change the mysql host leaving the PHP host same. Find a mysql host who allows remote access.If this sounds silly, just make your own server by installing Fedora Core 10 or 11 with all the packages for webserver including Perl and its ppms. Make your own PsychoStats installation. Now each time you update your local machine with stats, transfer the database to the webhost, who is not allowing the remote access.
This can be done like this,
- Give this command in local machine your Fedora - shell> mysqldump psychostats3_1 >newfile.txt
- You get a 2.8 MB txt file
- Log in into Hsoting Provider
- Go to Database PHPMyAdmin
- Go to restore or import
- give this file when asked
- All the tabels and data from your local web machine will go into the hosting provider mysql database
- Shell> mysqldump psychostats --ignore-table=psychostats.ps_config --ignore-table=psychostats.ps_config_events --ignore-table=psychostats.ps_config_themes --ignore-table=psychostats.ps_errlogs --ignore-table=psychostats.ps_geoip_ip --ignore-table=psychostats.ps_geoip_cc
0 Replies in Discussion:
Post a Comment