MySQL Forums
Forum List  »  Install & Repo

Error while installing mysql-server on raspbian
Posted by: Abou El Anein Hamdy
Date: December 02, 2016 05:56PM

Hi,


I try to install mysql server on raspbian-lite via SSH and then I have thoses error codes :

Can someone help me please ?



Processing triggers for systemd (215-17+deb8u5) ...
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:/run/mysqld# systemctl status mysql.service
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Fri 2016-12-02 20:58:31 UTC; 5min ago

Dec 02 20:57:51 raspberrypi mysql[13662]: /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Deb...ning).
Dec 02 20:57:51 raspberrypi /etc/init.d/mysql[13672]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Dec 02 20:58:31 raspberrypi /etc/init.d/mysql[14121]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/m...ed in
Dec 02 20:58:31 raspberrypi mysql[13662]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . ....ailed!
Dec 02 20:58:31 raspberrypi systemd[1]: mysql.service: control process exited, code=exited status=1
Dec 02 20:58:31 raspberrypi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Dec 02 20:58:31 raspberrypi systemd[1]: Unit mysql.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.


root@raspberrypi:/run/mysqld# systemctl status mysql.service -l
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Fri 2016-12-02 20:58:31 UTC; 6min ago

Dec 02 20:57:51 raspberrypi mysql[13662]: /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz ... (warning).
Dec 02 20:57:51 raspberrypi /etc/init.d/mysql[13672]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
Dec 02 20:58:31 raspberrypi /etc/init.d/mysql[14121]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Dec 02 20:58:31 raspberrypi mysql[13662]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
Dec 02 20:58:31 raspberrypi systemd[1]: mysql.service: control process exited, code=exited status=1
Dec 02 20:58:31 raspberrypi systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
Dec 02 20:58:31 raspberrypi systemd[1]: Unit mysql.service entered failed state.

Options: ReplyQuote


Subject
Written By
Posted
Error while installing mysql-server on raspbian
December 02, 2016 05:56PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.