“Access Denied” when rails connects to Mysql

后端 未结 3 479
孤独总比滥情好
孤独总比滥情好 2021-01-17 01:25

I have did all the procedures as mentioned in several places and I also learned from lynda.com video tutorial. I used Mac 10.7 and I installed rubystack. I created the datab

3条回答
  •  心在旅途
    2021-01-17 02:15

    You'll want to grant permissions on the simplecmsdevelopment database for simple_cms@localhost:

    GRANT ALL PRIVILEGES ON 'simplecmsdevelopment'.* TO 'simple_cms'@'localhost';

    You might want to change the directory permissions to something like 755 for /usr/local/bin as well... That should fix the warning.

提交回复
热议问题