Andreas Ruttkamp Posted July 27, 2010 Share Posted July 27, 2010 Hallo zusammen ! ich bin offensichtlich ein wenig vernagelt. Wo bitte kommt in dieser Zeile des CronJobs : safe_exec('mysqldump --opt --allow-keywords -u ' . $sql_root[0]['user'] . ' -p' . $sql_root[0]['password'] . ' -h ' . $sql_root[0]['host'] . ' ' . $dbs_row['databasename'] . ' -r ' . $row['documentroot'] . $settings['customer']['backup_dir'] . '/' . $dbs_row['databasename'] . '.sql' ); Der Username und das passwort her ? Also z.B. $sql_root[0]['user'] Muss ich dort den user ersetzen ? also $sql[0]['root'] ?????? Andreas Link to comment Share on other sites More sharing options...
d00p Posted July 27, 2010 Share Posted July 27, 2010 das kommt aus der /froxlor/lib/userdata.inc.php, das sind daten die du beim Setup angegeben hast, einmal der root-user und das root-passwort f?r die mysql-datenbank Link to comment Share on other sites More sharing options...
Andreas Ruttkamp Posted July 27, 2010 Author Share Posted July 27, 2010 *patsch* Na klar !! Danke f?r den Schubs. Ich suche , warum er die SQL Tabellen nicht sichert und bin dar?ber gestolpert. Nun suche ich weiter. DANKE ! Andreas Link to comment Share on other sites More sharing options...
Andreas Ruttkamp Posted July 27, 2010 Author Share Posted July 27, 2010 Nachtrag. Was ein doofer Fehler. Die Datei userdata.inc.php geh?rte dem User und der group "root" nachdem ich das auf "www-data" ge?ndert hatte wurden auch die SQL Datenbanken korrekt gesichert. Andreas Link to comment Share on other sites More sharing options...
Question
Andreas Ruttkamp
Hallo zusammen !
ich bin offensichtlich ein wenig vernagelt.
Wo bitte kommt in dieser Zeile des CronJobs :
Der Username und das passwort her ?
Also z.B. $sql_root[0]['user']
Muss ich dort den user ersetzen ?
also $sql[0]['root'] ??????
Andreas
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.