当前位置: 技术问答>linux和unix
初装SQL就出现这种问题!请问如何解决!
来源: 互联网 发布时间:2015-09-16
本文导语: [root@localhost mysql-3.23.57-pc-linux-i686]# Starting mysqld daemon with databases from /usr/local/mysql-3.23.57-pc-linux-i686/data /usr/local/mysql-3.23.57-pc-linux-i686/bin/safe_mysqld: line 284: 15503 段错误 $NOHUP_NICENESS $ledir/$M...
[root@localhost mysql-3.23.57-pc-linux-i686]# Starting mysqld daemon with databases from /usr/local/mysql-3.23.57-pc-linux-i686/data
/usr/local/mysql-3.23.57-pc-linux-i686/bin/safe_mysqld: line 284: 15503 段错误
$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >>$err_log 2>&1
050321 13:32:46 mysqld ended
/usr/local/mysql-3.23.57-pc-linux-i686/bin/safe_mysqld: line 284: 15503 段错误
$NOHUP_NICENESS $ledir/$MYSQLD $defaults --basedir=$MY_BASEDIR_VERSION --datadir=$DATADIR $USER_OPTION --pid-file=$pid_file --skip-locking >>$err_log 2>&1
050321 13:32:46 mysqld ended
|
先建立一个系统账户mysql
用mysql用户启动mysqld
/usr/local/mysql-3.23.57-pc-linux-i686/bin/safe_mysqld --user=mysql &
用mysql用户启动mysqld
/usr/local/mysql-3.23.57-pc-linux-i686/bin/safe_mysqld --user=mysql &
|
cd /usr/local/mysql/bin
./server start
试试
./server start
试试
|
看看你得err_log 里写了些什么?在做判断.