arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
apt-get update and apt-get upgrade problem
#23
There's an elephant in the room:
Quote:1045: Access denied for user 'root'@'localhost' (using password: NO) when trying to connect

Your mysqldump application still tries to login as MySQL root instead of the user you specified. So there must be something wrong with the command. If e.g. the password is wrong the error should look like the one below.

Command:
mysqldump -u dbuser -p'dbpasswordwrong' testdb >testdb.sql

Result:
mysqldump: Got error: 1045: Access denied for user 'dbuser'@'localhost' (using password: YES) when trying to connect

A correct password will simply create the database .sql dump without any error messages or similar.

Compare your command with mine and you will see major differences.
[Image: zHHqO5Q.png]
lockThread Closed 


Messages In This Thread
RE: apt-get update and apt-get upgrade problem - by Mashiro - 06-25-2018, 05:16 PM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
3,414
10-14-2019, 01:31 PM
Last Post: hamed

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting