GrepBoard/Manuals
605 manuals ·

MySQL 7

MySQL login, connection and limit errors.

  1. Fix MySQL ERROR 1205 Lock wait timeout exceeded: find the blocker

    MySQL ERROR 1205 Lock wait timeout exceeded means another transaction held the row lock past the wait limit. Find it in sys.innodb_lock_waits and fix it.

    MySQL 8.4.13 (Docker mysql:8.4) · 2026-10
  2. Fix MySQL ERROR 1045 Access denied for user (using password: YES)

    MySQL ERROR 1045 (using password: YES) is not always a wrong password. Match 'user'@'host' to mysql.user and rule out the shell or an option file.

    MySQL 8.4.13 (Docker mysql:8.4) · 2026-10
  3. MySQL 8.4 innodb_buffer_pool_size and innodb_redo_log_capacity

    Resize MySQL 8.4 innodb_buffer_pool_size (128MB) and redo capacity online. Check disk reads, change with SET PERSIST, roll back with RESET PERSIST.

    MySQL 8.4.13 (Docker mysql:8.4) · 2026-10
  4. ERROR 2002: Can't connect to local MySQL server through socket

    MySQL ERROR 2002 means the server is down or the client looks for the socket in the wrong place. Read the errno, find @@socket, and fix the client path.

    MySQL 8.4.13 (Docker mysql:8.4) · 2026-10
  5. Fix MySQL ERROR 1698: Access denied for user 'root'@'localhost'

    Ubuntu mysql -u root fails with ERROR 1698 because root@localhost uses auth_socket, not a password. Log in with sudo mysql and create a separate admin user.

    Ubuntu 24.04 (Docker) · MySQL 8.0.46-0ubuntu0.24.04.4 · 2026-10
  6. Fix MySQL 8.4 Plugin 'mysql_native_password' is not loaded

    MySQL 8.4 ERROR 1524 means mysql_native_password is disabled by default. Move accounts to caching_sha2_password, or re-enable the plugin for now.

    MySQL 8.4.13 (Docker mysql:8.4) · 2026-10
  7. Fix MySQL ERROR 1040: Too many connections

    MySQL ERROR 1040 Too many connections means max_connections is used up. Use the reserved admin slot, kill leaked idle connections, then size the limit.

    MySQL 8.4.13 (Docker mysql:8.4) · 2026-10