mysql不能用啊,一连接,就报错:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
以下是错误日志,看不懂啊,请高手帮忙917 13:58:10  mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
070917 13:58:10  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
070917 13:58:10  InnoDB: Error: Write to file ./ibdata1 failed at offset 0 0.
InnoDB: 1048576 bytes should have been written, only -1 were written.
InnoDB: Operating system error number 28.
InnoDB: Check that your OS and file system support files of this size.
InnoDB: Check also that the disk is not full or a disk quota exceeded.
InnoDB: Error number 28 means 'No space left on device'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.0/en/operating-system-error-codes.html
InnoDB: Error in creating ./ibdata1: probably out of disk space
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
/usr/local/mysql/libexec/mysqld: Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... Retry in 60 secs

解决方案 »

  1.   

    ./ibdata1 did not exist:INNODB的数据文件都不存在。你是不是直接COPY的 FRM文件
      

  2.   

    请问,进程中有这些是不是说明mysql服务已经起来了啊?root      8630  7143  0 14:23 pts/1    00:00:00 /bin/sh ./mysqld_safe --user=mysql
    mysql     8654  8630  0 14:23 pts/1    00:00:00 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var
      

  3.   

    /usr/local/mysql/libexec/mysqld: Disk is full writing './mysql-bin.000003' (Errcode: 28). Waiting for someone to free space... Retry in 60 secs还有这个,显示磁盘配额已经满了。你的空间不足。
      

  4.   

    InnoDB: Error number 28 means 'No space left on device'.
    磁盘满啦
      

  5.   

    1、如果你是ROOT的话,应该是你的磁盘空间不足。
    2、如果你是普通用户的话,是不是应该向管理员要点空间?
      

  6.   

    我是root用户,这台机器上就装不了啦吗?
      

  7.   

     
    cuijixin  也就是楼主 真他妈不讲究  问完问题  解决了 也不说说解决方法  这样的人  以后遇到问题谁还会帮你!!!