Salve ragazzi,
per un progetto dell’università ho bisogno di un server mysql sul mio pc. Ho installato sia il client sia il server mysql tramite YUM,
# yum install mysql mysql-server
FIn qui tutto bene. Quando però provo ad avviare il servizio di mysql, mi esce questo errore:
# systemctl start mysqld
Job failed. See system journal and 'systemctl status' for details.
Ecco i due report dell’errore:
[code]# systemctl status mysqld
mysqld.service - MySQL database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled)
Active: failed (Result: exit-code) since Mon, 23 Sep 2013 15:16:24 +0200; 52s ago
Process: 7199 ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID (code=exited, status=1/FAILURE)
Process: 7198 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 7176 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir %n (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/mysqld.service
Sep 23 15:16:21 Samsung mysqld_safe[7198]: 130923 15:16:21 mysqld_safe Logging to ‘/var/log/mysqld.log’.
Sep 23 15:16:21 Samsung mysqld_safe[7198]: 130923 15:16:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
[/code]
# systemd-journalctl | grep mysql
Sep 23 15:14:02 Samsung mysqld_safe[6878]: 130923 15:14:02 mysqld_safe Loggi....
Sep 23 15:14:02 Samsung mysqld_safe[6878]: 130923 15:14:02 mysqld_safe Start...l
Sep 23 15:14:05 Samsung mysqld_safe[6878]: 130923 15:14:05 mysqld_safe mysql...d
Sep 23 15:14:06 Samsung systemd[1]: mysqld.service: control process exited,...=1
Sep 23 15:14:06 Samsung systemd[1]: Unit mysqld.service entered failed state.
Sep 23 15:15:50 Samsung yum[7120]: Installed: mysql-libs-5.5.32-1.fc17.x86_64
Sep 23 15:15:53 Samsung yum[7120]: Installed: mysql-5.5.32-1.fc17.x86_64
Sep 23 15:15:54 Samsung useradd[7140]: failed adding user 'mysql', data deleted
Sep 23 15:15:57 Samsung yum[7120]: Installed: mysql-server-5.5.32-1.fc17.x86_64
Sep 23 15:16:21 Samsung mysqld_safe[7198]: 130923 15:16:21 mysqld_safe Loggi....
Sep 23 15:16:21 Samsung mysqld_safe[7198]: 130923 15:16:21 mysqld_safe Start...l
Sep 23 15:16:23 Samsung mysqld_safe[7198]: 130923 15:16:23 mysqld_safe mysql...d
Sep 23 15:16:24 Samsung systemd[1]: mysqld.service: control process exited,...=1
Sep 23 15:16:24 Samsung systemd[1]: Unit mysqld.service entered failed state.
Grazie in anticipo per l’aiuto !