On Linux I installed fuel and oil and things seem to work. I can create models, controllers, etc using oil. the only issue at the moment is the migrations.
When I run: $ oil r migrate I get the error: Error - invalid data source name in COREPATH/classes/database/pdo/connection.php on line 94
/////////// I did create the migration table in the db, but it only has noe col 'id' I had tried this before creating the table and was getting the same error. Is the 'migration' table automatically created, or do i have to create it, and if so, what's the structure?
I hope your directory names are lower case, otherwise Fuel can't find anything.
Your db config should be in app/config/development/db.php, as db config is specified per environment. Only global settings go in app/config/db.php.
Both files are merged upon load, so now the default db config that is still present in the development db.php file is overwriting your global config...
But now i get this: 42000 - SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"migration" ( "type" varchar(25) NOT NULL, "name" varchar(50) NOT NULL, "migr' at line 1 with query: "CREATE TABLE IF NOT EXISTS "migration" ( "type" varchar(25) NOT NULL, "name" varchar(50) NOT NULL, "migration" varchar(100) DEFAULT '' NOT NULL ) DEFAULT CHARACTER SET utf8;" in COREPATH/classes/database/pdo/connection.php on line 175