我通过cPanel登录phpMyAdmin并插入
INSERT INTO `ci`.`categories` (
`cat_id` ,
`cat_name` ,
`cat_shortdesc` ,
`cat_longdesc` ,
`cat_parentid`
)
VALUES
('1', 'Uncategorized', 'Should be Categorized soon...', 'All the stuff that did not fit in the main categories.', '0'),
('2', 'Action/Adventure', 'Shoot to kill.', 'Excitement is the bane of our existence. Why not help fulfil that craving?', '0'),
('3', 'RPG', 'Play as someone you actually like.', 'RPGs are unique that they existed before computers. Help. I cannot think of descriptions.', '0'),
('4', 'Simulation', 'SIMULATE EVERYTHING', 'Probably from Germany. All sims are from Germany... right?', '0');
我收到了错误
1142 - 针对表'类别'的用户'scottrot'@'localhost'拒绝INSERT命令
我尝试过使用grant用户,但我也被拒绝访问。是因为我通过cPanel凭证登录phpMyAdmin吗?我无法弄清楚如何登录其他SQL帐户。
答案 0 :(得分:0)