2017-07-17 52 views
0

我對我的mysql有一個很大的問題我已經重新安裝機器3次,總是出現同樣的錯誤。 我從Debian的7切換到8,所以我用mysqldump導出我的數據庫(8Giga),並導入它,因爲進口是這裏的錯誤,我得到導入.sql後Debian 8上的Mysql錯誤

mysql.service - LSB: Start and stop the mysql database server daemon 
    Loaded: loaded (/etc/init.d/mysql) 
    Active: active (running) since lun. 2017-07-17 13:18:35 CEST; 1s ago 
    Process: 11765 ExecStop=/etc/init.d/mysql stop (code=exited, status=1/FAILURE) 
    Process: 11690 ExecReload=/etc/init.d/mysql reload (code=exited, status=1/FAILURE) 
    Process: 11854 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS) 
    CGroup: /system.slice/mysql.service 
      ├─10797 /bin/sh /usr/bin/mysqld_safe 
      └─11179 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysql/error.log --pid-file=/v... 

juil. 17 13:18:35 WorldCube.fr mysql[11854]: Starting MySQL database server: mysqld already running. 
juil. 17 13:18:35 WorldCube.fr systemd[1]: Started LSB: Start and stop the mysql database server daemon. 
+0

您是否嘗試禁用該服務?或者當你嘗試啓用它時是這樣嗎? – ThisGuyHasTwoThumbs

+0

是命令啓動和停止工作 –

回答

0

的問題是不是與mysql server中,你試圖導入的文件有問題,在中間停止mysql daemon並嘗試重新啓動它。

我會建議,將該文件分成多個小腳本並嘗試導入它或使用mysql workbench將數據庫腳本導入到您的mysql server文件中。