Skip to content

Instantly share code, notes, and snippets.

@ShapeShifter499
Created November 6, 2016 07:48
Show Gist options
  • Save ShapeShifter499/c86dd468e2fe2f04e8f3f4ee6bdb776a to your computer and use it in GitHub Desktop.
Save ShapeShifter499/c86dd468e2fe2f04e8f3f4ee6bdb776a to your computer and use it in GitHub Desktop.
MySQL setup error
Package configuration
──────────────────────────────────────────────────────────────────────────────
┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐
│ Unable to set password for the MySQL "root" user │
│ │
│ An error occurred while setting the password for the MySQL │
│ administrative user. This may have happened because the account already │
│ has a password, or because of a communication problem with the MySQL │
│ server. │
│ │
│ You should check the account's password after the package installation. │
│ │
│ Please read the /usr/share/doc/mysql-server-5.5/README.Debian file for │
│ more information. │
│ │
│ │
├────────────────────────────────────────────────────────────────────────────┤
│ < OK > │
└────────────────────────────────────────────────────────────────────────────┘
[....] Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . [FAIL . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up mysql-client (5.5.52-0+deb8u1) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for systemd (215-17+deb8u5) ...
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up mysql-server-5.5 (5.5.52-0+deb8u1) ...
[ ok ] Stopping MySQL database server: mysqld.
[....] Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . [FAIL . . . . . . . . . . failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment