apache & mySQL using different hosting

apache & mySQL using different hosting

از azman sahari در
Number of replies: 3
Hi moodlers,

I installed moodle in a webhost but would like to have mySQL  hosted by my PC
I've ADSL connection.  the reason being to have security for my the database

what do i have to do?

thanks in advanced
میانگین امتیازات:  -
In reply to azman sahari

Re: apache & mySQL using different hosting

از Marcus Green در
عکس Core developers عکس Particularly helpful Moodlers عکس Plugin developers عکس Testers

You may face the problem that you probably have a dynamic IP address. This means that occasionally your database may dissappear for no apparent reason (from the perspective of your programs).

In reply to Marcus Green

Re: apache & mySQL using different hosting

از Sean Keogh در
That's a very good point.  Another is that I would have thought that this would give rise to horrendous performance problems too.  If you are on 512K ADSL then your backhaul is probably only 256K.  Moodle does a *lot* of database access, so from the perspective of a user on your moodle site, I would expect things to be a bit slow.


Beardie Sean
In reply to azman sahari

Re: apache & mySQL using different hosting

از Howard Miller در
عکس Core developers عکس Documentation writers عکس Particularly helpful Moodlers عکس Peer reviewers عکس Plugin developers
You would be just as well hosting the whole thing on your PC! The availability and access issues would be exactly the same and it would be a lot quicker and less likely to break. Its not going to be terribly quick over ADSL though, the bandwidth is quite small in that direction!

It can be done, you need to have a look at Dynamic DNS - check out (amongst others) www.dyndns.org