Correctly accessing CCK fields in SQL queries | drewish.com
Link Title and URL: Correctly accessing CCK fields in SQL queries | drewish.comsince CCK can dynamically alter the database schema (when you add a field to a second content type or change the number...
View ArticleExport and re-import a database with Drush and the command line
Searched words: drush sql import database mysql import database db dump These are run from the project's web root, example/web, so that drush can run, but the database itself is stored outside the web...
View ArticleBrowsing the Drupal database
Searched words: SQLpro Moshe on browsing the database at the BostonHe uses the Mac program SequelPro (completely free and open source). http://www.sequelpro.com/PHPmyadmin:...
View ArticleStumbling through DBTNG, Drupal 7's new database layer
Searched words: chaining Order matters. condition() before countQuery()This fails (note it trying to do a subquery):<?phpreturn db_select('block')->countQuery()->condition('theme',...
View ArticleLocation of nightly database backup's on Agaric's live servers
Searched words: sojourner backup /var/local/db-backup/sqldump/
View ArticleToo many connections in lock_may_be_available() on Drupal 7 site
Searched words: The website encountered an unexpected error. Please try again later PDOException Too many connections in lock_may_be_available() lock.inc Encountered this error: The website...
View ArticleUse Drush to sync the database from one site to another
Searched words: drush pull down databases copy a database between drupal sites Based on Greg Anderson's chapter in the Definitive Guide to Drupal 7.drush sql-sync @dgd7.prod @dgd7.localPrerequisitesA...
View ArticleUpdating your Rakefile and syncing content
Searched words: update Rakefile As when working on any Agaric project that may not have had maintenance done on it in a while, update the Rakefile to be in line with current processes.First, make sure...
View ArticleUsing PostgreSQL (psql) - getting past the immediate authentication failure
Searched words: postgresql initial password, psql first account, psql: FATAL: Ident authentication failed for userHow in the world aren't there very clear instructions for getting started with...
View ArticleNaming convention for follows / is followed by relationship?
Searched words: naming convention follower follow model naming conventions for relationship tables Yes, i searched for what other people chose for a naming convention for a table (model) of follower...
View Article