大家帮忙看看这是哪出错了
   
    grant all on depot_development.* to 'dave'@'localhost';
错误提示:error 1133 can't find any matching row in the user table我想这应该是没有dave这个用户,因为我已经建了depot_development这个数据库但我不知道该怎么添加用户,希望能说详细点!谢谢

解决方案 »

  1.   

    给mysql.user表的INSERT权限GRANT INSERT(user) ON mysql.user TO 'user_name'@'host_name';
      

  2.   

    专业的搜索引擎技术提供商(磐志搜索),访问www.panzhi.net了解详细介绍。第一,提高搜索速度,0.005秒;
    第二、提高搜索准确性,专业的中文分词;  
    第三,智能分析关键词,纠错,相关词提取等;  
    第四、方法搜索 关键词的关系(与 或 非)等;
      

  3.   

    你这个情况是数据库里没有这个用户。
    添加用户,同时分配权限:
    grant all on depot_development.* to 'dave'@'localhost' identified by 'password';
    其中password为该用户的密码
      

  4.   

    grant all privileges on depot_development.* to 'dave'@'localhost';
      

  5.   

    看看下面的文章
    http://www.programmerstudy.com/database/mysql/20084/143.html