Do not set this db to the same as development or production. Host: localhost Warning: The database defined as ‘test’ will be erased and re-generated from your development database when you run ‘rake’. And be sure to use new-style password hashing: Install MySQL and put its /bin directory on your path. Install the MySQL driver: gem install mysql On Mac OS X: sudo gem install mysql – -with-mysql-dir=/usr/local/mysql On Mac OS X Leopard: sudo env ARCHFLAGS="-arch i386" gem install mysql – -with-mysql-Ĭonfig=/usr/local/mysql/bin/mysql_config This sets the ARCHFLAGS environment variable to your nativeĪrchitecture On Windows: gem install mysql Choose the win32 build. The database.yml file is configured like this: MySQL. When building an app,I get this error when hit the browser(ActionĬontrollerException caught): Access denied for user (using password: NO) Hello, I am using InstantRails 2.0 on windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |