{"action":"created","issue":{"url":"https://api.github.com/repos/go-xorm/xorm/issues/322","labels_url":"https://api.github.com/repos/go-xorm/xorm/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/go-xorm/xorm/issues/322/comments","events_url":"https://api.github.com/repos/go-xorm/xorm/issues/322/events","html_url":"https://github.com/go-xorm/xorm/issues/322","id":123648177,"number":322,"title":"无法创建索引","user":{"login":"fym201","id":3061492,"avatar_url":"https://avatars.githubusercontent.com/u/3061492?v=3","gravatar_id":"","url":"https://api.github.com/users/fym201","html_url":"https://github.com/fym201","followers_url":"https://api.github.com/users/fym201/followers","following_url":"https://api.github.com/users/fym201/following{/other_user}","gists_url":"https://api.github.com/users/fym201/gists{/gist_id}","starred_url":"https://api.github.com/users/fym201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fym201/subscriptions","organizations_url":"https://api.github.com/users/fym201/orgs","repos_url":"https://api.github.com/users/fym201/repos","events_url":"https://api.github.com/users/fym201/events{/privacy}","received_events_url":"https://api.github.com/users/fym201/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T12:05:24Z","updated_at":"2015-12-24T01:40:26Z","closed_at":"2015-12-24T01:40:26Z","body":"调用engine.CreateIndexes()方法后生成的sql为 \r\nCREATE INDEX `IDX_balance_amount` ON `balance` (`amount`);\r\n然后收到错误：\r\npanic: Error 1142: INDEX command denied to user 'xxxx'@'192.168.1.1' for table 'balance'"},"comment":{"url":"https://api.github.com/repos/go-xorm/xorm/issues/comments/167019821","html_url":"https://github.com/go-xorm/xorm/issues/322#issuecomment-167019821","issue_url":"https://api.github.com/repos/go-xorm/xorm/issues/322","id":167019821,"user":{"login":"fym201","id":3061492,"avatar_url":"https://avatars.githubusercontent.com/u/3061492?v=3","gravatar_id":"","url":"https://api.github.com/users/fym201","html_url":"https://github.com/fym201","followers_url":"https://api.github.com/users/fym201/followers","following_url":"https://api.github.com/users/fym201/following{/other_user}","gists_url":"https://api.github.com/users/fym201/gists{/gist_id}","starred_url":"https://api.github.com/users/fym201/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fym201/subscriptions","organizations_url":"https://api.github.com/users/fym201/orgs","repos_url":"https://api.github.com/users/fym201/repos","events_url":"https://api.github.com/users/fym201/events{/privacy}","received_events_url":"https://api.github.com/users/fym201/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T01:40:26Z","updated_at":"2015-12-24T01:40:26Z","body":"的确是这个问题"}}