1030 Got error 28 from storage engine

后端 未结 10 1066
[愿得一人]
[愿得一人] 2020-12-04 05:31

I am working on a project where i need to create a database with 300 tables for each user who wants to see the demo application. it was working fine but today when i was tes

相关标签:
10条回答
  • 2020-12-04 06:26
    sudo su
    
    
    cd /var/log/mysql
    

    and lastly type: > mysql-slow.log

    This worked for me

    0 讨论(0)
  • 2020-12-04 06:30

    A simple: $sth->finish(); Would probably save you from worrying about this. Mysql uses the system's tmp space instead of it's own space.

    0 讨论(0)
  • 2020-12-04 06:34

    Mysql error "28 from storage engine" - means "not enough disk space".

    To show disc space use command below.

    myServer# df -h
    

    Results must be like this.

    Filesystem    Size    Used   Avail Capacity  Mounted on
    /dev/vdisk     13G     13G     46M   100%    /
    devfs         1.0k    1.0k      0B   100%    /dev
    
    0 讨论(0)
  • 2020-12-04 06:36

    I had a similar issue, because of my replication binary logs.

    If this is the case, just create a cronjob to run this query every day:

    PURGE BINARY LOGS BEFORE DATE_SUB( NOW(), INTERVAL 2 DAY );
    

    This will remove all binary logs older than 2 days.

    I found this solution here.

    0 讨论(0)
提交回复
热议问题