How do you work the database file thingy so it connects to mysql properly...
| SitePoint Sponsor |





How do you work the database file thingy so it connects to mysql properly...
"A nerd who gets contacts
and a trendy hair cut is still a nerd"
- Stephen Colbert on Apple Users

Have you edited config/database.yml yet?





Thats the file I mean.
"A nerd who gets contacts
and a trendy hair cut is still a nerd"
- Stephen Colbert on Apple Users
I had no issues getting it going with mysql. My file looked like:
Code:development: adapter: mysql database: sweatje_dev host: localhost username: sweatje_dbo password: shhh_secret
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.
Make sure you have the Ruby MySQL bindings installed too (or bindings for whatever database you plan on using).![]()
And please don't post titles that encourage Vinnie to use that smilie
Jason Sweat ZCE - jsweat_php@yahoo.com
Book: PHP Patterns
Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
Detestable (adjective): software that isn't testable.





Thanks sweatje. I figured it out.
"A nerd who gets contacts
and a trendy hair cut is still a nerd"
- Stephen Colbert on Apple Users
Bookmarks