古いウェブサイトを開いているときに問題が発生しました。私のdataTableは示しています:
DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error.
その後、スクリプトをデバッグしようとしましたが、mysqlでエラーが見つかりました。
Error occuered during query execution:
(<small>SELECT SQL_CALC_FOUND_ROWS ID,name,remark,avrusepmonth
, CONCAT('<input type=''checkbox''id=''cb' , ID ,''' name=''check[]''
value=''',ID,''' >','<label class=''lbcb'' for=''cb',
ID,'''><=update=</label>') as checkb
,monthavrage(ID,12) as latestavr , moq, leadtime
FROM test_media WHERE nowuse=1 and monthavrage(ID,12) > 0 ORDER BY name
desc, ID
LIMIT 0, 10</small>):
execute command denied to user 'jeinqa'@'localhost' for routine 'TestMediaControl.monthavrage'
それから私はグーグルしようとしました、execute command denied to user 'jeinqa'@'localhost' for routine 'TestMediaControl.monthavrage'
そしていくつかのサイトは私がいくつかをしなければならないと言いましたGRANT
:
GRANT EXECUTE ON PROCEDURE TestMediaControl.monthavrage TO 'jeinqa'@'localhost'
しかし、私は得ました:
#1370 - execute command denied to user 'jeinqa'@'localhost' for routine 'TestMediaControl.monthavrage'
これを解決するためにどうしたらいいか教えていただけますか?