message  "${MESSAGE_COLOR}The SQL daemon needs to be running to create the database${DEFAULT_COLOR}"
config_query  ZEN_CART_CREATEDB  "Create zencart database?"  n

if  [  "$ZEN_CART_CREATEDB"  ==  "y"  ];  then
  if  spell_ok  mysql;  then
    config_query  ZEN_CART_MYSQL  "Add zencart to your mysql database?"  y
  else
    peristent_add  ZEN_CART_MYSQL  &&
    ZEN_CART_MYSQL="n"
  fi  &&

  if  spell_ok  postgresql;  then
    config_query  ZEN_CART_PGSQL  "Add zencart to your postgresql database?"  y
  else
    persistent_add  ZEN_CART_PGSQL  &&
    ZEN_CART_PGSQL="n"
  fi
fi
