【mysql錯誤】SELECT command denied to user 'longfor_read'@'id地址' for table 'help_topic'

在線錯誤提示:php

SELECT command denied to user 'longfor_read'@'id地址' for table 'help_topic';mysql

緣由:mysql用戶沒有執行查詢help_topic表的權限,須要root用戶受權。sql

解決方案:it

# ./mysql -uroot -ptable

> source /path/to/phpmyadmin/examples/create_tables.sql;權限

> GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.help_topic TO 'longfor_read'@'id地址' IDENTIFIED BY '';command

> flush privileges;查詢

> exit;top

相關文章
相關標籤/搜索