chutuoc-logo-600chutuoc-logo-600chutuoc-logo-600chutuoc-logo-600
  • IT Bí điển
    • Lập trình
      • Css
      • Javascript
      • Php
    • Sql
      • Sql căn bản
      • Các lệnh Sql hay dùng
    • Server and vps
      • EasyEngine
        • EasyEngine3
        • EasyEngine4
      • Docker
    • Hệ điều hành
      • Linux
        • Linux terminal command
    • Cms
      • WordPress
        • Theme wordpress
        • Plugin wordpress
    • SEO
    • Công cụ
      • Git
    • DevOps Engineer
    • Solution
✕

Lỗi Export mysql “ERROR 1045 (28000): Access denied for user”

If you’re able to connect to the database using mysql, but you get an error for mysqldump, then the problem may be that you lack privileges to lock the table. (Nếu bạn có thể kết nối với cơ sở dữ liệu bằng mysql, nhưng bạn gặp lỗi với mysqldump, thì vấn đề có thể là do bạn thiếu đặc quyền để khóa bảng.)

Try the –single-transaction option in that case. (Hãy thử tùy chọn –single-transaction trong trường hợp đó.)

mysqldump -h database.example.com -u mydbuser -p mydatabase --single-transaction  > /home/mylinuxuser/mydatabase.sql


namnt

Bài cùng loại

21/02/2024

Allow upload csv file for wordpress


Đọc luôn
20/12/2023

Configure SFTP on EE4 server


Đọc luôn
12/10/2023

Disable xmlrpc wordpress


Đọc luôn
© 2016 Tuấn sữa - Blog