salve..ho scaricato una classe che permette di fare il backup di un database mysql.
codice:
$mkBackup->DBMakeBackup("server","port","user","password","database_name");
this create the backup. Vars are very simple:
server is the mySQL server (if empty, "localhost" is used)
port is the port of mySQL server (if empty, "3306" is used)
user is the user used to connect to mySQL server (if empty, "root" is used)
password is the password used to connect to mySQL server (if empty, empty password is used)
database_name is the name of the Database to save (if empty, it will display an error)
ho provato ma mi sa che la porta è sbagliata (che ho lasciato bianca,quindi 3306) siccome non avviene mai la connessione.
io per le query mysql non ho mai usato porte..che porta devo usare??
sono su mysql di aruba se può aiutare...