Page 1 of 1
Mysql backup/restore class
Posted: Mon Sep 06, 2010 8:02 pm
by Rksk
The bellow class works fine on my mechine. but when i try to use it with byethost free hosing account, it doesn't return anything. i can't understand what is the fuction that doesn't work. pls help me.
[ Post made via Mobile Device ] 
Re: Mysql backup/restore class
Posted: Mon Sep 06, 2010 9:53 pm
by Neo
It is most probably because of using "localhost" as your mysql server. Most web hosts keep their database server in a different server. So you will have to use the correct database server address.
Re: Mysql backup/restore class
Posted: Tue Sep 07, 2010 3:08 pm
by Rksk
configurations are ok. i didn't post real file here. this is the file which i downloaded from NET.
[ Post made via Mobile Device ] 
Re: Mysql backup/restore class
Posted: Tue Sep 07, 2010 5:46 pm
by Neo
Are you sure it connects to database correctly? Can you run a small script to connect to database and see fetch some rows.