Mysql Dump - Error 1045 (Access denied)
Posted: Tue Apr 28, 2009 8:57 am
Hi Leute,
ich habe mal wieder ein Problem. Es tritt beim frisch installierten Mysql Dump Modul auf, CHMOD Rechte für das Uploadverzeichnis, wo das Datenbankbackup angelegt werden soll, habe ich richtig vergeben, auch die FAQ habe ich bereits studiert, für mein Problem findet sich dort aber leider nichts.
Ich komme aber nicht dahinter, warum er keine Verbindung aufbauen kann, da Benutzer, Passwort, Datenbank und Host ja aus dem Configfile geladen werden und diese müssen ja stimmen, sonst hätte ich gar keine Verbindung zur Datenbank mehr.
Hat jemand ne Idee
Edit: Ich benutze noch Version 1.5.2 und dazu das aktuelle Mysql Dump Modul.
Vielen Dank im Voraus,
Zacki
ich habe mal wieder ein Problem. Es tritt beim frisch installierten Mysql Dump Modul auf, CHMOD Rechte für das Uploadverzeichnis, wo das Datenbankbackup angelegt werden soll, habe ich richtig vergeben, auch die FAQ habe ich bereits studiert, für mein Problem findet sich dort aber leider nichts.
'/usr/bin/mysqldump' --user=######## --password=######## --host=127.0.0.1 --opt --verbose --compatible=mysql40 --default-character-set=latin1 xa8408_db1 'cms_additional_htmlblob_users' 'cms_additional_htmlblob_users_seq' 'cms_additional_users' 'cms_additional_users_seq' 'cms_admin_bookmarks' 'cms_admin_bookmarks_seq' 'cms_admin_recent_pages' 'cms_admin_recent_pages_seq' 'cms_adminlog' 'cms_content' 'cms_content_props' 'cms_content_props_seq' 'cms_content_seq' 'cms_crossref' 'cms_css' 'cms_css_assoc' 'cms_css_seq' 'cms_event_handler_seq' 'cms_event_handlers' 'cms_events' 'cms_events_seq' 'cms_group_perms' 'cms_group_perms_seq' 'cms_groups' 'cms_groups_seq' 'cms_htmlblobs' 'cms_htmlblobs_seq' 'cms_module_album_albums' 'cms_module_album_albums_seq' 'cms_module_album_categories' 'cms_module_album_categories_seq' 'cms_module_album_category_listings' 'cms_module_album_category_listings_seq' 'cms_module_album_pictures' 'cms_module_album_pictures_seq' 'cms_module_deps' 'cms_module_guestbook' 'cms_module_guestbook_post' 'cms_module_guestbook_post_seq' 'cms_module_guestbook_seq' 'cms_module_guestbook_settings' 'cms_module_news' 'cms_module_news_categories' 'cms_module_news_categories_seq' 'cms_module_news_fielddefs' 'cms_module_news_fieldvals' 'cms_module_news_seq' 'cms_module_search_index' 'cms_module_search_items' 'cms_module_search_items_seq' 'cms_module_search_words' 'cms_module_templates' 'cms_modules' 'cms_permissions' 'cms_permissions_seq' 'cms_siteprefs' 'cms_templates' 'cms_templates_seq' 'cms_user_groups' 'cms_userplugins' 'cms_userplugins_seq' 'cms_userprefs' 'cms_users' 'cms_users_seq' 'cms_version'>>backups/backup-2009-04-28_10-48-32.sql 2>../modules/MysqlDump/dump-verbose.txt
Code: Select all
Output...
-- Connecting to 127.0.0.1...
mysqldump: Got error: 1045: Access denied for user '#####'@'localhost' (using password: YES) when trying to connect
Ich komme aber nicht dahinter, warum er keine Verbindung aufbauen kann, da Benutzer, Passwort, Datenbank und Host ja aus dem Configfile geladen werden und diese müssen ja stimmen, sonst hätte ich gar keine Verbindung zur Datenbank mehr.
Hat jemand ne Idee

Edit: Ich benutze noch Version 1.5.2 und dazu das aktuelle Mysql Dump Modul.
Vielen Dank im Voraus,
Zacki