#1 - Can't create/write to file '/tmp/#sql_145d_0.MYI' (Errcode: 13) 
网上说把tempdir值改成可读可写的文件,我该后还是不能读,报错。。????
另外,linux的mysql真不好使用,pbpmyql存储过程报错,但是mysql-query-browser却不报错
,mysql-query-browse建立存储过程会覆盖掉你原来的存储过程,这不好用,navicat官方下的limux版本
竟然是.exe,怎们查看已经写的存储过程????

解决方案 »

  1.   

    #1 - Can't create/write to file '/tmp/#sql_145d_0.MYI' (Errcode: 13) 应该是权限不足的问题。或者磁盘空间不够。ll /temp 检查一下给 mysql账号的授权情况。
      

  2.   

    查看已经写过的存储过程是不是show procedure status???有时写过,又命成相同的名字,就覆盖了以前的
      

  3.   

     数据库帐号为root,ll /temp 检查一下给 mysql账号的授权情况。什么意思??
    这个问题确实好像是一个通用问题,我在ubuntu中文网上搜到了几篇帖子,但没有解决办法。
      

  4.   


    是 show procedure status;
    不会的,会提醒你存储过程已存在。
      

  5.   

    我用,mysql-query-browse新建建立存储过程会覆盖掉一次存储过程
    权限问题,还是没有解决。
    数据库帐号为root,ll /temp 检查一下给 mysql账号的授权情况。什么意思??
    这个问题确实好像是一个通用问题,我在ubuntu中文网上搜到了几篇帖子,但没有解决办法。
      

  6.   

    linux 下 检查一下 /temp的权限设置。
      

  7.   

    tmpdir = /temp
    drwxrwxrwx 2 root root 4096 2009-06-06 13:33 /temp
    只能用sudo mkdir /temp 可能 都变成root了,ubuntu root帐号不能登录。
    。。
      

  8.   

    drwxrwxrwx 说明有权限啊。
    磁盘空间没有问题吧。
      

  9.   

    这个错误怎么这么怪????
    mysql> call lengthtime();
    ERROR 1305 (42000): FUNCTION design.time_to_sec does not exist
    mysql> select time_to_sec('00:00:01');
    +-------------------------+
    | time_to_sec('00:00:01') |
    +-------------------------+
    |                       1 | 
    +-------------------------+
    1 row in set (0.00 sec)

    ???